xref: /linux/drivers/net/ethernet/marvell/Kconfig (revision b889fcf63cb62e7fdb7816565e28f44dbe4a76a5)
1#
2# Marvell device configuration
3#
4
5config NET_VENDOR_MARVELL
6	bool "Marvell devices"
7	default y
8	depends on PCI || CPU_PXA168 || MV64X60 || PPC32 || PLAT_ORION || INET
9	---help---
10	  If you have a network (Ethernet) card belonging to this class, say Y
11	  and read the Ethernet-HOWTO, available from
12	  <http://www.tldp.org/docs.html#howto>.
13
14	  Note that the answer to this question doesn't directly affect the
15	  kernel: saying N will just cause the configurator to skip all
16	  the questions about Marvell devices. If you say Y, you will be
17	  asked for your specific card in the following questions.
18
19if NET_VENDOR_MARVELL
20
21config MV643XX_ETH
22	tristate "Marvell Discovery (643XX) and Orion ethernet support"
23	depends on (MV64X60 || PPC32 || PLAT_ORION) && INET
24	select INET_LRO
25	select PHYLIB
26	---help---
27	  This driver supports the gigabit ethernet MACs in the
28	  Marvell Discovery PPC/MIPS chipset family (MV643XX) and
29	  in the Marvell Orion ARM SoC family.
30
31	  Some boards that use the Discovery chipset are the Momenco
32	  Ocelot C and Jaguar ATX and Pegasos II.
33
34config MVMDIO
35	tristate "Marvell MDIO interface support"
36	---help---
37	  This driver supports the MDIO interface found in the network
38	  interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
39	  Dove, Armada 370 and Armada XP).
40
41	  For now, this driver is only needed for the MVNETA driver
42	  (used on Armada 370 and XP), but it could be used in the
43	  future by the MV643XX_ETH driver.
44
45config MVNETA
46	tristate "Marvell Armada 370/XP network interface support"
47	depends on MACH_ARMADA_370_XP
48	select PHYLIB
49	select MVMDIO
50	---help---
51	  This driver supports the network interface units in the
52	  Marvell ARMADA XP and ARMADA 370 SoC family.
53
54	  Note that this driver is distinct from the mv643xx_eth
55	  driver, which should be used for the older Marvell SoCs
56	  (Dove, Orion, Discovery, Kirkwood).
57
58config PXA168_ETH
59	tristate "Marvell pxa168 ethernet support"
60	depends on CPU_PXA168
61	select PHYLIB
62	---help---
63	  This driver supports the pxa168 Ethernet ports.
64
65	  To compile this driver as a module, choose M here. The module
66	  will be called pxa168_eth.
67
68config SKGE
69	tristate "Marvell Yukon Gigabit Ethernet support"
70	depends on PCI
71	select CRC32
72	---help---
73	  This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
74	  and related Gigabit Ethernet adapters. It is a new smaller driver
75	  with better performance and more complete ethtool support.
76
77	  It does not support the link failover and network management
78	  features that "portable" vendor supplied sk98lin driver does.
79
80	  This driver supports adapters based on the original Yukon chipset:
81	  Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
82	  Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
83
84	  It does not support the newer Yukon2 chipset: a separate driver,
85	  sky2, is provided for these adapters.
86
87	  To compile this driver as a module, choose M here: the module
88	  will be called skge.  This is recommended.
89
90config SKGE_DEBUG
91	bool "Debugging interface"
92	depends on SKGE && DEBUG_FS
93	---help---
94	  This option adds the ability to dump driver state for debugging.
95	  The file /sys/kernel/debug/skge/ethX displays the state of the internal
96	  transmit and receive rings.
97
98	  If unsure, say N.
99
100config SKGE_GENESIS
101	bool "Support for older SysKonnect Genesis boards"
102	depends on SKGE
103	---help---
104	 This enables support for the older and uncommon SysKonnect Genesis
105	 chips, which support MII via an external transceiver, instead of
106	 an internal one. Disabling this option will save some memory
107	 by making code smaller. If unsure say Y.
108
109config SKY2
110	tristate "Marvell Yukon 2 support"
111	depends on PCI
112	select CRC32
113	---help---
114	  This driver supports Gigabit Ethernet adapters based on the
115	  Marvell Yukon 2 chipset:
116	  Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
117	  88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
118
119	  There is companion driver for the older Marvell Yukon and
120	  SysKonnect Genesis based adapters: skge.
121
122	  To compile this driver as a module, choose M here: the module
123	  will be called sky2.  This is recommended.
124
125config SKY2_DEBUG
126	bool "Debugging interface"
127	depends on SKY2 && DEBUG_FS
128	---help---
129	  This option adds the ability to dump driver state for debugging.
130	  The file /sys/kernel/debug/sky2/ethX displays the state of the internal
131	  transmit and receive rings.
132
133	  If unsure, say N.
134
135endif # NET_VENDOR_MARVELL
136