xref: /linux/drivers/net/ethernet/marvell/Kconfig (revision f79e4d5f92a129a1159c973735007d4ddc8541f3)
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 || COMPILE_TEST
9	---help---
10	  If you have a network (Ethernet) card belonging to this class, say Y.
11
12	  Note that the answer to this question doesn't directly affect the
13	  kernel: saying N will just cause the configurator to skip all
14	  the questions about Marvell devices. If you say Y, you will be
15	  asked for your specific card in the following questions.
16
17if NET_VENDOR_MARVELL
18
19config MV643XX_ETH
20	tristate "Marvell Discovery (643XX) and Orion ethernet support"
21	depends on MV64X60 || PPC32 || PLAT_ORION || COMPILE_TEST
22	depends on INET
23	select PHYLIB
24	select MVMDIO
25	---help---
26	  This driver supports the gigabit ethernet MACs in the
27	  Marvell Discovery PPC/MIPS chipset family (MV643XX) and
28	  in the Marvell Orion ARM SoC family.
29
30	  Some boards that use the Discovery chipset are the Momenco
31	  Ocelot C and Jaguar ATX and Pegasos II.
32
33config MVMDIO
34	tristate "Marvell MDIO interface support"
35	depends on HAS_IOMEM
36	select PHYLIB
37	---help---
38	  This driver supports the MDIO interface found in the network
39	  interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
40	  Dove, Armada 370 and Armada XP).
41
42	  This driver is used by the MV643XX_ETH and MVNETA drivers.
43
44config MVNETA_BM_ENABLE
45	tristate "Marvell Armada 38x/XP network interface BM support"
46	depends on MVNETA
47	depends on !64BIT
48	---help---
49	  This driver supports auxiliary block of the network
50	  interface units in the Marvell ARMADA XP and ARMADA 38x SoC
51	  family, which is called buffer manager.
52
53	  This driver, when enabled, strictly cooperates with mvneta
54	  driver and is common for all network ports of the devices,
55	  even for Armada 370 SoC, which doesn't support hardware
56	  buffer management.
57
58config MVNETA
59	tristate "Marvell Armada 370/38x/XP/37xx network interface support"
60	depends on ARCH_MVEBU || COMPILE_TEST
61	select MVMDIO
62	select PHYLINK
63	---help---
64	  This driver supports the network interface units in the
65	  Marvell ARMADA XP, ARMADA 370, ARMADA 38x and
66	  ARMADA 37xx SoC family.
67
68	  Note that this driver is distinct from the mv643xx_eth
69	  driver, which should be used for the older Marvell SoCs
70	  (Dove, Orion, Discovery, Kirkwood).
71
72config MVNETA_BM
73	tristate
74	depends on !64BIT
75	default y if MVNETA=y && MVNETA_BM_ENABLE!=n
76	default MVNETA_BM_ENABLE
77	select HWBM
78	select GENERIC_ALLOCATOR
79	help
80	  MVNETA_BM must not be 'm' if MVNETA=y, so this symbol ensures
81	  that all dependencies are met.
82
83config MVPP2
84	tristate "Marvell Armada 375/7K/8K network interface support"
85	depends on ARCH_MVEBU || COMPILE_TEST
86	select MVMDIO
87	select PHYLINK
88	---help---
89	  This driver supports the network interface units in the
90	  Marvell ARMADA 375, 7K and 8K SoCs.
91
92config PXA168_ETH
93	tristate "Marvell pxa168 ethernet support"
94	depends on HAS_IOMEM
95	depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST
96	select PHYLIB
97	---help---
98	  This driver supports the pxa168 Ethernet ports.
99
100	  To compile this driver as a module, choose M here. The module
101	  will be called pxa168_eth.
102
103config SKGE
104	tristate "Marvell Yukon Gigabit Ethernet support"
105	depends on PCI
106	select CRC32
107	---help---
108	  This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
109	  and related Gigabit Ethernet adapters. It is a new smaller driver
110	  with better performance and more complete ethtool support.
111
112	  It does not support the link failover and network management
113	  features that "portable" vendor supplied sk98lin driver does.
114
115	  This driver supports adapters based on the original Yukon chipset:
116	  Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
117	  Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
118
119	  It does not support the newer Yukon2 chipset: a separate driver,
120	  sky2, is provided for these adapters.
121
122	  To compile this driver as a module, choose M here: the module
123	  will be called skge.  This is recommended.
124
125config SKGE_DEBUG
126	bool "Debugging interface"
127	depends on SKGE && DEBUG_FS
128	---help---
129	  This option adds the ability to dump driver state for debugging.
130	  The file /sys/kernel/debug/skge/ethX displays the state of the internal
131	  transmit and receive rings.
132
133	  If unsure, say N.
134
135config SKGE_GENESIS
136	bool "Support for older SysKonnect Genesis boards"
137	depends on SKGE
138	---help---
139	 This enables support for the older and uncommon SysKonnect Genesis
140	 chips, which support MII via an external transceiver, instead of
141	 an internal one. Disabling this option will save some memory
142	 by making code smaller. If unsure say Y.
143
144config SKY2
145	tristate "Marvell Yukon 2 support"
146	depends on PCI
147	select CRC32
148	---help---
149	  This driver supports Gigabit Ethernet adapters based on the
150	  Marvell Yukon 2 chipset:
151	  Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
152	  88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
153
154	  There is companion driver for the older Marvell Yukon and
155	  SysKonnect Genesis based adapters: skge.
156
157	  To compile this driver as a module, choose M here: the module
158	  will be called sky2.  This is recommended.
159
160config SKY2_DEBUG
161	bool "Debugging interface"
162	depends on SKY2 && DEBUG_FS
163	---help---
164	  This option adds the ability to dump driver state for debugging.
165	  The file /sys/kernel/debug/sky2/ethX displays the state of the internal
166	  transmit and receive rings.
167
168	  If unsure, say N.
169
170endif # NET_VENDOR_MARVELL
171