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
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) && INET
22	select PHYLIB
23	select MVMDIO
24	---help---
25	  This driver supports the gigabit ethernet MACs in the
26	  Marvell Discovery PPC/MIPS chipset family (MV643XX) and
27	  in the Marvell Orion ARM SoC family.
28
29	  Some boards that use the Discovery chipset are the Momenco
30	  Ocelot C and Jaguar ATX and Pegasos II.
31
32config MVMDIO
33	tristate "Marvell MDIO interface support"
34	depends on HAS_IOMEM
35	select PHYLIB
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	  This driver is used by the MV643XX_ETH and MVNETA drivers.
42
43config MVNETA
44	tristate "Marvell Armada 370/38x/XP network interface support"
45	depends on PLAT_ORION
46	select MVMDIO
47	select FIXED_PHY
48	---help---
49	  This driver supports the network interface units in the
50	  Marvell ARMADA XP, ARMADA 370 and ARMADA 38x SoC family.
51
52	  Note that this driver is distinct from the mv643xx_eth
53	  driver, which should be used for the older Marvell SoCs
54	  (Dove, Orion, Discovery, Kirkwood).
55
56config MVPP2
57	tristate "Marvell Armada 375 network interface support"
58	depends on MACH_ARMADA_375
59	select MVMDIO
60	---help---
61	  This driver supports the network interface units in the
62	  Marvell ARMADA 375 SoC.
63
64config PXA168_ETH
65	tristate "Marvell pxa168 ethernet support"
66	depends on HAS_IOMEM && HAS_DMA
67	depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST
68	select PHYLIB
69	---help---
70	  This driver supports the pxa168 Ethernet ports.
71
72	  To compile this driver as a module, choose M here. The module
73	  will be called pxa168_eth.
74
75config SKGE
76	tristate "Marvell Yukon Gigabit Ethernet support"
77	depends on PCI
78	select CRC32
79	---help---
80	  This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
81	  and related Gigabit Ethernet adapters. It is a new smaller driver
82	  with better performance and more complete ethtool support.
83
84	  It does not support the link failover and network management
85	  features that "portable" vendor supplied sk98lin driver does.
86
87	  This driver supports adapters based on the original Yukon chipset:
88	  Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
89	  Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
90
91	  It does not support the newer Yukon2 chipset: a separate driver,
92	  sky2, is provided for these adapters.
93
94	  To compile this driver as a module, choose M here: the module
95	  will be called skge.  This is recommended.
96
97config SKGE_DEBUG
98	bool "Debugging interface"
99	depends on SKGE && DEBUG_FS
100	---help---
101	  This option adds the ability to dump driver state for debugging.
102	  The file /sys/kernel/debug/skge/ethX displays the state of the internal
103	  transmit and receive rings.
104
105	  If unsure, say N.
106
107config SKGE_GENESIS
108	bool "Support for older SysKonnect Genesis boards"
109	depends on SKGE
110	---help---
111	 This enables support for the older and uncommon SysKonnect Genesis
112	 chips, which support MII via an external transceiver, instead of
113	 an internal one. Disabling this option will save some memory
114	 by making code smaller. If unsure say Y.
115
116config SKY2
117	tristate "Marvell Yukon 2 support"
118	depends on PCI
119	select CRC32
120	---help---
121	  This driver supports Gigabit Ethernet adapters based on the
122	  Marvell Yukon 2 chipset:
123	  Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
124	  88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
125
126	  There is companion driver for the older Marvell Yukon and
127	  SysKonnect Genesis based adapters: skge.
128
129	  To compile this driver as a module, choose M here: the module
130	  will be called sky2.  This is recommended.
131
132config SKY2_DEBUG
133	bool "Debugging interface"
134	depends on SKY2 && DEBUG_FS
135	---help---
136	  This option adds the ability to dump driver state for debugging.
137	  The file /sys/kernel/debug/sky2/ethX displays the state of the internal
138	  transmit and receive rings.
139
140	  If unsure, say N.
141
142endif # NET_VENDOR_MARVELL
143