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