blob: ac6605c62f46ae60eab65b55266e4b345b0fa05d [file] [log] [blame]
Jeff Kirsher527a6262011-05-20 20:18:55 -07001#
2# Marvell device configuration
3#
4
5config NET_VENDOR_MARVELL
6 bool "Marvell devices"
Jeff Kirsher88f07482011-08-23 01:29:52 -07007 default y
Jeff Kirsher527a6262011-05-20 20:18:55 -07008 depends on PCI || CPU_PXA168 || MV64X60 || PPC32 || PLAT_ORION || INET
9 ---help---
Paul Gortmaker138b15e2015-06-21 16:28:02 -040010 If you have a network (Ethernet) card belonging to this class, say Y.
Jeff Kirsher527a6262011-05-20 20:18:55 -070011
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
Jeff Kirsher527a6262011-05-20 20:18:55 -070022 select PHYLIB
Florian Fainellic3a07132013-03-22 03:39:28 +000023 select MVMDIO
Jeff Kirsher527a6262011-05-20 20:18:55 -070024 ---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
Thomas Petazzonifc8f5ad2012-11-12 17:03:47 +010032config MVMDIO
33 tristate "Marvell MDIO interface support"
Richard Weinbergeraf1f2d72014-01-14 16:45:43 +010034 depends on HAS_IOMEM
Thomas Petazzoni2e0cbf22013-04-13 06:18:56 +000035 select PHYLIB
Thomas Petazzonifc8f5ad2012-11-12 17:03:47 +010036 ---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
Florian Fainellic3a07132013-03-22 03:39:28 +000041 This driver is used by the MV643XX_ETH and MVNETA drivers.
Thomas Petazzonifc8f5ad2012-11-12 17:03:47 +010042
Marcin Wojtasdc35a102016-03-14 09:39:03 +010043config MVNETA_BM
44 tristate "Marvell Armada 38x/XP network interface BM support"
45 depends on MVNETA
46 ---help---
47 This driver supports auxiliary block of the network
48 interface units in the Marvell ARMADA XP and ARMADA 38x SoC
49 family, which is called buffer manager.
50
51 This driver, when enabled, strictly cooperates with mvneta
52 driver and is common for all network ports of the devices,
53 even for Armada 370 SoC, which doesn't support hardware
54 buffer management.
55
Thomas Petazzonic5aff182012-08-17 14:04:28 +030056config MVNETA
Thomas Petazzoni4b636b52014-02-18 14:18:11 +010057 tristate "Marvell Armada 370/38x/XP network interface support"
58 depends on PLAT_ORION
Thomas Petazzonic5aff182012-08-17 14:04:28 +030059 select MVMDIO
Arnd Bergmann4bed5392015-11-09 15:08:57 +010060 select FIXED_PHY
Thomas Petazzonic5aff182012-08-17 14:04:28 +030061 ---help---
62 This driver supports the network interface units in the
Thomas Petazzoni4b636b52014-02-18 14:18:11 +010063 Marvell ARMADA XP, ARMADA 370 and ARMADA 38x SoC family.
Thomas Petazzonic5aff182012-08-17 14:04:28 +030064
65 Note that this driver is distinct from the mv643xx_eth
66 driver, which should be used for the older Marvell SoCs
67 (Dove, Orion, Discovery, Kirkwood).
68
Marcin Wojtas3f518502014-07-10 16:52:13 -030069config MVPP2
70 tristate "Marvell Armada 375 network interface support"
71 depends on MACH_ARMADA_375
72 select MVMDIO
73 ---help---
74 This driver supports the network interface units in the
75 Marvell ARMADA 375 SoC.
76
Jeff Kirsher527a6262011-05-20 20:18:55 -070077config PXA168_ETH
78 tristate "Marvell pxa168 ethernet support"
Geert Uytterhoeven3b3d1362014-10-09 16:15:42 +020079 depends on HAS_IOMEM && HAS_DMA
80 depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST
Jeff Kirsher527a6262011-05-20 20:18:55 -070081 select PHYLIB
82 ---help---
83 This driver supports the pxa168 Ethernet ports.
84
85 To compile this driver as a module, choose M here. The module
86 will be called pxa168_eth.
87
88config SKGE
89 tristate "Marvell Yukon Gigabit Ethernet support"
90 depends on PCI
91 select CRC32
92 ---help---
93 This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
94 and related Gigabit Ethernet adapters. It is a new smaller driver
95 with better performance and more complete ethtool support.
96
97 It does not support the link failover and network management
98 features that "portable" vendor supplied sk98lin driver does.
99
100 This driver supports adapters based on the original Yukon chipset:
101 Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
102 Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
103
104 It does not support the newer Yukon2 chipset: a separate driver,
105 sky2, is provided for these adapters.
106
107 To compile this driver as a module, choose M here: the module
108 will be called skge. This is recommended.
109
110config SKGE_DEBUG
111 bool "Debugging interface"
112 depends on SKGE && DEBUG_FS
113 ---help---
114 This option adds the ability to dump driver state for debugging.
115 The file /sys/kernel/debug/skge/ethX displays the state of the internal
116 transmit and receive rings.
117
118 If unsure, say N.
119
120config SKGE_GENESIS
121 bool "Support for older SysKonnect Genesis boards"
122 depends on SKGE
123 ---help---
124 This enables support for the older and uncommon SysKonnect Genesis
125 chips, which support MII via an external transceiver, instead of
126 an internal one. Disabling this option will save some memory
127 by making code smaller. If unsure say Y.
128
129config SKY2
130 tristate "Marvell Yukon 2 support"
131 depends on PCI
132 select CRC32
133 ---help---
134 This driver supports Gigabit Ethernet adapters based on the
135 Marvell Yukon 2 chipset:
136 Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
137 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
138
139 There is companion driver for the older Marvell Yukon and
140 SysKonnect Genesis based adapters: skge.
141
142 To compile this driver as a module, choose M here: the module
143 will be called sky2. This is recommended.
144
145config SKY2_DEBUG
146 bool "Debugging interface"
147 depends on SKY2 && DEBUG_FS
148 ---help---
149 This option adds the ability to dump driver state for debugging.
150 The file /sys/kernel/debug/sky2/ethX displays the state of the internal
151 transmit and receive rings.
152
153 If unsure, say N.
154
155endif # NET_VENDOR_MARVELL