Kconfig 5.4 KB

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