Kconfig 5.7 KB

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