Kconfig 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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 MDIO_DEVRES
  32. select PHYLIB
  33. help
  34. This driver supports the MDIO interface found in the network
  35. interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
  36. Dove, Armada 370 and Armada XP).
  37. This driver is used by the MV643XX_ETH and MVNETA drivers.
  38. config MVNETA_BM_ENABLE
  39. tristate "Marvell Armada 38x/XP network interface BM support"
  40. depends on MVNETA
  41. depends on !64BIT
  42. help
  43. This driver supports auxiliary block of the network
  44. interface units in the Marvell ARMADA XP and ARMADA 38x SoC
  45. family, which is called buffer manager.
  46. This driver, when enabled, strictly cooperates with mvneta
  47. driver and is common for all network ports of the devices,
  48. even for Armada 370 SoC, which doesn't support hardware
  49. buffer management.
  50. config MVNETA
  51. tristate "Marvell Armada 370/38x/XP/37xx network interface support"
  52. depends on ARCH_MVEBU || COMPILE_TEST
  53. select MVMDIO
  54. select PHYLINK
  55. select PAGE_POOL
  56. select PAGE_POOL_STATS
  57. help
  58. This driver supports the network interface units in the
  59. Marvell ARMADA XP, ARMADA 370, ARMADA 38x and
  60. ARMADA 37xx SoC family.
  61. Note that this driver is distinct from the mv643xx_eth
  62. driver, which should be used for the older Marvell SoCs
  63. (Dove, Orion, Discovery, Kirkwood).
  64. config MVNETA_BM
  65. tristate
  66. depends on !64BIT
  67. default y if MVNETA=y && MVNETA_BM_ENABLE!=n
  68. default MVNETA_BM_ENABLE
  69. select HWBM
  70. select GENERIC_ALLOCATOR
  71. help
  72. MVNETA_BM must not be 'm' if MVNETA=y, so this symbol ensures
  73. that all dependencies are met.
  74. config MVPP2
  75. tristate "Marvell Armada 375/7K/8K network interface support"
  76. depends on ARCH_MVEBU || COMPILE_TEST
  77. select MVMDIO
  78. select PHYLINK
  79. select PAGE_POOL
  80. help
  81. This driver supports the network interface units in the
  82. Marvell ARMADA 375, 7K and 8K SoCs.
  83. config MVPP2_PTP
  84. bool "Marvell Armada 8K Enable PTP support"
  85. depends on (PTP_1588_CLOCK = y && MVPP2 = y) || \
  86. (PTP_1588_CLOCK && MVPP2 = m)
  87. config PXA168_ETH
  88. tristate "Marvell pxa168 ethernet support"
  89. depends on HAS_IOMEM
  90. depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST
  91. select PHYLIB
  92. help
  93. This driver supports the pxa168 Ethernet ports.
  94. To compile this driver as a module, choose M here. The module
  95. will be called pxa168_eth.
  96. config SKGE
  97. tristate "Marvell Yukon Gigabit Ethernet support"
  98. depends on PCI
  99. select CRC32
  100. help
  101. This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
  102. and related Gigabit Ethernet adapters. It is a new smaller driver
  103. with better performance and more complete ethtool support.
  104. It does not support the link failover and network management
  105. features that "portable" vendor supplied sk98lin driver does.
  106. This driver supports adapters based on the original Yukon chipset:
  107. Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
  108. Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
  109. It does not support the newer Yukon2 chipset: a separate driver,
  110. sky2, is provided for these adapters.
  111. To compile this driver as a module, choose M here: the module
  112. will be called skge. This is recommended.
  113. config SKGE_DEBUG
  114. bool "Debugging interface"
  115. depends on SKGE && DEBUG_FS
  116. help
  117. This option adds the ability to dump driver state for debugging.
  118. The file /sys/kernel/debug/skge/ethX displays the state of the internal
  119. transmit and receive rings.
  120. If unsure, say N.
  121. config SKGE_GENESIS
  122. bool "Support for older SysKonnect Genesis boards"
  123. depends on SKGE
  124. help
  125. This enables support for the older and uncommon SysKonnect Genesis
  126. chips, which support MII via an external transceiver, instead of
  127. an internal one. Disabling this option will save some memory
  128. by making code smaller. If unsure say Y.
  129. config 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. There is companion driver for the older Marvell Yukon and
  139. SysKonnect Genesis based adapters: skge.
  140. To compile this driver as a module, choose M here: the module
  141. will be called sky2. This is recommended.
  142. config SKY2_DEBUG
  143. bool "Debugging interface"
  144. depends on SKY2 && DEBUG_FS
  145. help
  146. This option adds the ability to dump driver state for debugging.
  147. The file /sys/kernel/debug/sky2/ethX displays the state of the internal
  148. transmit and receive rings.
  149. If unsure, say N.
  150. source "drivers/net/ethernet/marvell/octeontx2/Kconfig"
  151. source "drivers/net/ethernet/marvell/octeon_ep/Kconfig"
  152. source "drivers/net/ethernet/marvell/octeon_ep_vf/Kconfig"
  153. source "drivers/net/ethernet/marvell/prestera/Kconfig"
  154. endif # NET_VENDOR_MARVELL