xref: /openbmc/linux/drivers/net/ethernet/marvell/Kconfig (revision fc8f5aded1cf9f5505c55694b36174621c7ac88c)
1527a6266SJeff Kirsher#
2527a6266SJeff Kirsher# Marvell device configuration
3527a6266SJeff Kirsher#
4527a6266SJeff Kirsher
5527a6266SJeff Kirsherconfig NET_VENDOR_MARVELL
6527a6266SJeff Kirsher	bool "Marvell devices"
788f07484SJeff Kirsher	default y
8527a6266SJeff Kirsher	depends on PCI || CPU_PXA168 || MV64X60 || PPC32 || PLAT_ORION || INET
9527a6266SJeff Kirsher	---help---
10527a6266SJeff Kirsher	  If you have a network (Ethernet) card belonging to this class, say Y
11527a6266SJeff Kirsher	  and read the Ethernet-HOWTO, available from
12527a6266SJeff Kirsher	  <http://www.tldp.org/docs.html#howto>.
13527a6266SJeff Kirsher
14527a6266SJeff Kirsher	  Note that the answer to this question doesn't directly affect the
15527a6266SJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
16527a6266SJeff Kirsher	  the questions about Marvell devices. If you say Y, you will be
17527a6266SJeff Kirsher	  asked for your specific card in the following questions.
18527a6266SJeff Kirsher
19527a6266SJeff Kirsherif NET_VENDOR_MARVELL
20527a6266SJeff Kirsher
21527a6266SJeff Kirsherconfig MV643XX_ETH
22527a6266SJeff Kirsher	tristate "Marvell Discovery (643XX) and Orion ethernet support"
23527a6266SJeff Kirsher	depends on (MV64X60 || PPC32 || PLAT_ORION) && INET
24527a6266SJeff Kirsher	select INET_LRO
25527a6266SJeff Kirsher	select PHYLIB
26527a6266SJeff Kirsher	---help---
27527a6266SJeff Kirsher	  This driver supports the gigabit ethernet MACs in the
28527a6266SJeff Kirsher	  Marvell Discovery PPC/MIPS chipset family (MV643XX) and
29527a6266SJeff Kirsher	  in the Marvell Orion ARM SoC family.
30527a6266SJeff Kirsher
31527a6266SJeff Kirsher	  Some boards that use the Discovery chipset are the Momenco
32527a6266SJeff Kirsher	  Ocelot C and Jaguar ATX and Pegasos II.
33527a6266SJeff Kirsher
34*fc8f5adeSThomas Petazzoniconfig MVMDIO
35*fc8f5adeSThomas Petazzoni	tristate "Marvell MDIO interface support"
36*fc8f5adeSThomas Petazzoni	---help---
37*fc8f5adeSThomas Petazzoni	  This driver supports the MDIO interface found in the network
38*fc8f5adeSThomas Petazzoni	  interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
39*fc8f5adeSThomas Petazzoni	  Dove, Armada 370 and Armada XP).
40*fc8f5adeSThomas Petazzoni
41*fc8f5adeSThomas Petazzoni	  For now, this driver is only needed for the MVNETA driver
42*fc8f5adeSThomas Petazzoni	  (used on Armada 370 and XP), but it could be used in the
43*fc8f5adeSThomas Petazzoni	  future by the MV643XX_ETH driver.
44*fc8f5adeSThomas Petazzoni
45527a6266SJeff Kirsherconfig PXA168_ETH
46527a6266SJeff Kirsher	tristate "Marvell pxa168 ethernet support"
47527a6266SJeff Kirsher	depends on CPU_PXA168
48527a6266SJeff Kirsher	select PHYLIB
49527a6266SJeff Kirsher	---help---
50527a6266SJeff Kirsher	  This driver supports the pxa168 Ethernet ports.
51527a6266SJeff Kirsher
52527a6266SJeff Kirsher	  To compile this driver as a module, choose M here. The module
53527a6266SJeff Kirsher	  will be called pxa168_eth.
54527a6266SJeff Kirsher
55527a6266SJeff Kirsherconfig SKGE
56527a6266SJeff Kirsher	tristate "Marvell Yukon Gigabit Ethernet support"
57527a6266SJeff Kirsher	depends on PCI
58527a6266SJeff Kirsher	select CRC32
59527a6266SJeff Kirsher	---help---
60527a6266SJeff Kirsher	  This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
61527a6266SJeff Kirsher	  and related Gigabit Ethernet adapters. It is a new smaller driver
62527a6266SJeff Kirsher	  with better performance and more complete ethtool support.
63527a6266SJeff Kirsher
64527a6266SJeff Kirsher	  It does not support the link failover and network management
65527a6266SJeff Kirsher	  features that "portable" vendor supplied sk98lin driver does.
66527a6266SJeff Kirsher
67527a6266SJeff Kirsher	  This driver supports adapters based on the original Yukon chipset:
68527a6266SJeff Kirsher	  Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
69527a6266SJeff Kirsher	  Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
70527a6266SJeff Kirsher
71527a6266SJeff Kirsher	  It does not support the newer Yukon2 chipset: a separate driver,
72527a6266SJeff Kirsher	  sky2, is provided for these adapters.
73527a6266SJeff Kirsher
74527a6266SJeff Kirsher	  To compile this driver as a module, choose M here: the module
75527a6266SJeff Kirsher	  will be called skge.  This is recommended.
76527a6266SJeff Kirsher
77527a6266SJeff Kirsherconfig SKGE_DEBUG
78527a6266SJeff Kirsher	bool "Debugging interface"
79527a6266SJeff Kirsher	depends on SKGE && DEBUG_FS
80527a6266SJeff Kirsher	---help---
81527a6266SJeff Kirsher	  This option adds the ability to dump driver state for debugging.
82527a6266SJeff Kirsher	  The file /sys/kernel/debug/skge/ethX displays the state of the internal
83527a6266SJeff Kirsher	  transmit and receive rings.
84527a6266SJeff Kirsher
85527a6266SJeff Kirsher	  If unsure, say N.
86527a6266SJeff Kirsher
87527a6266SJeff Kirsherconfig SKGE_GENESIS
88527a6266SJeff Kirsher	bool "Support for older SysKonnect Genesis boards"
89527a6266SJeff Kirsher	depends on SKGE
90527a6266SJeff Kirsher	---help---
91527a6266SJeff Kirsher	 This enables support for the older and uncommon SysKonnect Genesis
92527a6266SJeff Kirsher	 chips, which support MII via an external transceiver, instead of
93527a6266SJeff Kirsher	 an internal one. Disabling this option will save some memory
94527a6266SJeff Kirsher	 by making code smaller. If unsure say Y.
95527a6266SJeff Kirsher
96527a6266SJeff Kirsherconfig SKY2
97527a6266SJeff Kirsher	tristate "Marvell Yukon 2 support"
98527a6266SJeff Kirsher	depends on PCI
99527a6266SJeff Kirsher	select CRC32
100527a6266SJeff Kirsher	---help---
101527a6266SJeff Kirsher	  This driver supports Gigabit Ethernet adapters based on the
102527a6266SJeff Kirsher	  Marvell Yukon 2 chipset:
103527a6266SJeff Kirsher	  Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
104527a6266SJeff Kirsher	  88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
105527a6266SJeff Kirsher
106527a6266SJeff Kirsher	  There is companion driver for the older Marvell Yukon and
107527a6266SJeff Kirsher	  SysKonnect Genesis based adapters: skge.
108527a6266SJeff Kirsher
109527a6266SJeff Kirsher	  To compile this driver as a module, choose M here: the module
110527a6266SJeff Kirsher	  will be called sky2.  This is recommended.
111527a6266SJeff Kirsher
112527a6266SJeff Kirsherconfig SKY2_DEBUG
113527a6266SJeff Kirsher	bool "Debugging interface"
114527a6266SJeff Kirsher	depends on SKY2 && DEBUG_FS
115527a6266SJeff Kirsher	---help---
116527a6266SJeff Kirsher	  This option adds the ability to dump driver state for debugging.
117527a6266SJeff Kirsher	  The file /sys/kernel/debug/sky2/ethX displays the state of the internal
118527a6266SJeff Kirsher	  transmit and receive rings.
119527a6266SJeff Kirsher
120527a6266SJeff Kirsher	  If unsure, say N.
121527a6266SJeff Kirsher
122527a6266SJeff Kirsherendif # NET_VENDOR_MARVELL
123