| Jeff Kirsher | 527a626 | 2011-05-20 20:18:55 -0700 | [diff] [blame] | 1 | # |
| 2 | # Marvell device configuration |
| 3 | # |
| 4 | |
| 5 | config NET_VENDOR_MARVELL |
| 6 | bool "Marvell devices" |
| Jeff Kirsher | 88f0748 | 2011-08-23 01:29:52 -0700 | [diff] [blame] | 7 | default y |
| Florian Fainelli | a0627f7 | 2016-11-17 11:19:13 -0800 | [diff] [blame] | 8 | depends on PCI || CPU_PXA168 || MV64X60 || PPC32 || PLAT_ORION || INET || COMPILE_TEST |
| Jeff Kirsher | 527a626 | 2011-05-20 20:18:55 -0700 | [diff] [blame] | 9 | ---help--- |
| Paul Gortmaker | 138b15e | 2015-06-21 16:28:02 -0400 | [diff] [blame] | 10 | If you have a network (Ethernet) card belonging to this class, say Y. |
| Jeff Kirsher | 527a626 | 2011-05-20 20:18:55 -0700 | [diff] [blame] | 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 | |
| 17 | if NET_VENDOR_MARVELL |
| 18 | |
| 19 | config MV643XX_ETH |
| 20 | tristate "Marvell Discovery (643XX) and Orion ethernet support" |
| Florian Fainelli | a0627f7 | 2016-11-17 11:19:13 -0800 | [diff] [blame] | 21 | depends on (MV64X60 || PPC32 || PLAT_ORION || COMPILE_TEST) && INET |
| 22 | depends on HAS_DMA |
| Jeff Kirsher | 527a626 | 2011-05-20 20:18:55 -0700 | [diff] [blame] | 23 | select PHYLIB |
| Florian Fainelli | c3a0713 | 2013-03-22 03:39:28 +0000 | [diff] [blame] | 24 | select MVMDIO |
| Jeff Kirsher | 527a626 | 2011-05-20 20:18:55 -0700 | [diff] [blame] | 25 | ---help--- |
| 26 | This driver supports the gigabit ethernet MACs in the |
| 27 | Marvell Discovery PPC/MIPS chipset family (MV643XX) and |
| 28 | in the Marvell Orion ARM SoC family. |
| 29 | |
| 30 | Some boards that use the Discovery chipset are the Momenco |
| 31 | Ocelot C and Jaguar ATX and Pegasos II. |
| 32 | |
| Thomas Petazzoni | fc8f5ad | 2012-11-12 17:03:47 +0100 | [diff] [blame] | 33 | config MVMDIO |
| 34 | tristate "Marvell MDIO interface support" |
| Richard Weinberger | af1f2d7 | 2014-01-14 16:45:43 +0100 | [diff] [blame] | 35 | depends on HAS_IOMEM |
| Thomas Petazzoni | 2e0cbf2 | 2013-04-13 06:18:56 +0000 | [diff] [blame] | 36 | select PHYLIB |
| Thomas Petazzoni | fc8f5ad | 2012-11-12 17:03:47 +0100 | [diff] [blame] | 37 | ---help--- |
| 38 | This driver supports the MDIO interface found in the network |
| 39 | interface units of the Marvell EBU SoCs (Kirkwood, Orion5x, |
| 40 | Dove, Armada 370 and Armada XP). |
| 41 | |
| Florian Fainelli | c3a0713 | 2013-03-22 03:39:28 +0000 | [diff] [blame] | 42 | This driver is used by the MV643XX_ETH and MVNETA drivers. |
| Thomas Petazzoni | fc8f5ad | 2012-11-12 17:03:47 +0100 | [diff] [blame] | 43 | |
| Arnd Bergmann | 019ded3 | 2016-03-15 22:47:14 +0100 | [diff] [blame] | 44 | config MVNETA_BM_ENABLE |
| Marcin Wojtas | dc35a10 | 2016-03-14 09:39:03 +0100 | [diff] [blame] | 45 | tristate "Marvell Armada 38x/XP network interface BM support" |
| 46 | depends on MVNETA |
| Gregory CLEMENT | f34dacc | 2016-12-01 18:03:08 +0100 | [diff] [blame] | 47 | depends on !64BIT |
| Marcin Wojtas | dc35a10 | 2016-03-14 09:39:03 +0100 | [diff] [blame] | 48 | ---help--- |
| 49 | This driver supports auxiliary block of the network |
| 50 | interface units in the Marvell ARMADA XP and ARMADA 38x SoC |
| 51 | family, which is called buffer manager. |
| 52 | |
| 53 | This driver, when enabled, strictly cooperates with mvneta |
| 54 | driver and is common for all network ports of the devices, |
| 55 | even for Armada 370 SoC, which doesn't support hardware |
| 56 | buffer management. |
| 57 | |
| Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 58 | config MVNETA |
| Marcin Wojtas | 2636ac3 | 2016-12-01 18:03:09 +0100 | [diff] [blame] | 59 | tristate "Marvell Armada 370/38x/XP/37xx network interface support" |
| 60 | depends on ARCH_MVEBU || COMPILE_TEST |
| Florian Fainelli | a0627f7 | 2016-11-17 11:19:13 -0800 | [diff] [blame] | 61 | depends on HAS_DMA |
| Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 62 | select MVMDIO |
| Arnd Bergmann | 4bed539 | 2015-11-09 15:08:57 +0100 | [diff] [blame] | 63 | select FIXED_PHY |
| Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 64 | ---help--- |
| 65 | This driver supports the network interface units in the |
| Marcin Wojtas | 2636ac3 | 2016-12-01 18:03:09 +0100 | [diff] [blame] | 66 | Marvell ARMADA XP, ARMADA 370, ARMADA 38x and |
| 67 | ARMADA 37xx SoC family. |
| Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 68 | |
| 69 | Note that this driver is distinct from the mv643xx_eth |
| 70 | driver, which should be used for the older Marvell SoCs |
| 71 | (Dove, Orion, Discovery, Kirkwood). |
| 72 | |
| Arnd Bergmann | 019ded3 | 2016-03-15 22:47:14 +0100 | [diff] [blame] | 73 | config MVNETA_BM |
| 74 | tristate |
| Gregory CLEMENT | f34dacc | 2016-12-01 18:03:08 +0100 | [diff] [blame] | 75 | depends on !64BIT |
| Arnd Bergmann | 2073dba | 2016-05-11 22:13:23 +0200 | [diff] [blame] | 76 | default y if MVNETA=y && MVNETA_BM_ENABLE!=n |
| Arnd Bergmann | 019ded3 | 2016-03-15 22:47:14 +0100 | [diff] [blame] | 77 | default MVNETA_BM_ENABLE |
| 78 | select HWBM |
| Arnd Bergmann | 0e85663 | 2016-12-10 11:38:32 +0100 | [diff] [blame] | 79 | select GENERIC_ALLOCATOR |
| Arnd Bergmann | 019ded3 | 2016-03-15 22:47:14 +0100 | [diff] [blame] | 80 | help |
| 81 | MVNETA_BM must not be 'm' if MVNETA=y, so this symbol ensures |
| 82 | that all dependencies are met. |
| 83 | |
| Marcin Wojtas | 3f51850 | 2014-07-10 16:52:13 -0300 | [diff] [blame] | 84 | config MVPP2 |
| 85 | tristate "Marvell Armada 375 network interface support" |
| Thomas Petazzoni | d315880 | 2017-02-21 11:28:13 +0100 | [diff] [blame] | 86 | depends on ARCH_MVEBU || COMPILE_TEST |
| Florian Fainelli | a0627f7 | 2016-11-17 11:19:13 -0800 | [diff] [blame] | 87 | depends on HAS_DMA |
| Marcin Wojtas | 3f51850 | 2014-07-10 16:52:13 -0300 | [diff] [blame] | 88 | select MVMDIO |
| 89 | ---help--- |
| 90 | This driver supports the network interface units in the |
| 91 | Marvell ARMADA 375 SoC. |
| 92 | |
| Jeff Kirsher | 527a626 | 2011-05-20 20:18:55 -0700 | [diff] [blame] | 93 | config PXA168_ETH |
| 94 | tristate "Marvell pxa168 ethernet support" |
| Geert Uytterhoeven | 3b3d136 | 2014-10-09 16:15:42 +0200 | [diff] [blame] | 95 | depends on HAS_IOMEM && HAS_DMA |
| 96 | depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST |
| Jeff Kirsher | 527a626 | 2011-05-20 20:18:55 -0700 | [diff] [blame] | 97 | select PHYLIB |
| 98 | ---help--- |
| 99 | This driver supports the pxa168 Ethernet ports. |
| 100 | |
| 101 | To compile this driver as a module, choose M here. The module |
| 102 | will be called pxa168_eth. |
| 103 | |
| 104 | config SKGE |
| 105 | tristate "Marvell Yukon Gigabit Ethernet support" |
| 106 | depends on PCI |
| 107 | select CRC32 |
| 108 | ---help--- |
| 109 | This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx |
| 110 | and related Gigabit Ethernet adapters. It is a new smaller driver |
| 111 | with better performance and more complete ethtool support. |
| 112 | |
| 113 | It does not support the link failover and network management |
| 114 | features that "portable" vendor supplied sk98lin driver does. |
| 115 | |
| 116 | This driver supports adapters based on the original Yukon chipset: |
| 117 | Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T, |
| 118 | Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872. |
| 119 | |
| 120 | It does not support the newer Yukon2 chipset: a separate driver, |
| 121 | sky2, is provided for these adapters. |
| 122 | |
| 123 | To compile this driver as a module, choose M here: the module |
| 124 | will be called skge. This is recommended. |
| 125 | |
| 126 | config SKGE_DEBUG |
| 127 | bool "Debugging interface" |
| 128 | depends on SKGE && DEBUG_FS |
| 129 | ---help--- |
| 130 | This option adds the ability to dump driver state for debugging. |
| 131 | The file /sys/kernel/debug/skge/ethX displays the state of the internal |
| 132 | transmit and receive rings. |
| 133 | |
| 134 | If unsure, say N. |
| 135 | |
| 136 | config SKGE_GENESIS |
| 137 | bool "Support for older SysKonnect Genesis boards" |
| 138 | depends on SKGE |
| 139 | ---help--- |
| 140 | This enables support for the older and uncommon SysKonnect Genesis |
| 141 | chips, which support MII via an external transceiver, instead of |
| 142 | an internal one. Disabling this option will save some memory |
| 143 | by making code smaller. If unsure say Y. |
| 144 | |
| 145 | config SKY2 |
| 146 | tristate "Marvell Yukon 2 support" |
| 147 | depends on PCI |
| 148 | select CRC32 |
| 149 | ---help--- |
| 150 | This driver supports Gigabit Ethernet adapters based on the |
| 151 | Marvell Yukon 2 chipset: |
| 152 | Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/ |
| 153 | 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21 |
| 154 | |
| 155 | There is companion driver for the older Marvell Yukon and |
| 156 | SysKonnect Genesis based adapters: skge. |
| 157 | |
| 158 | To compile this driver as a module, choose M here: the module |
| 159 | will be called sky2. This is recommended. |
| 160 | |
| 161 | config SKY2_DEBUG |
| 162 | bool "Debugging interface" |
| 163 | depends on SKY2 && DEBUG_FS |
| 164 | ---help--- |
| 165 | This option adds the ability to dump driver state for debugging. |
| 166 | The file /sys/kernel/debug/sky2/ethX displays the state of the internal |
| 167 | transmit and receive rings. |
| 168 | |
| 169 | If unsure, say N. |
| 170 | |
| 171 | endif # NET_VENDOR_MARVELL |