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