Kconfig 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. config STMMAC_ETH
  2. tristate "STMicroelectronics 10/100/1000 Ethernet driver"
  3. depends on HAS_IOMEM && HAS_DMA
  4. select MII
  5. select PHYLIB
  6. select CRC32
  7. select PTP_1588_CLOCK
  8. select RESET_CONTROLLER
  9. ---help---
  10. This is the driver for the Ethernet IPs are built around a
  11. Synopsys IP Core and only tested on the STMicroelectronics
  12. platforms.
  13. if STMMAC_ETH
  14. config STMMAC_PLATFORM
  15. tristate "STMMAC Platform bus support"
  16. depends on STMMAC_ETH
  17. select MFD_SYSCON
  18. default y
  19. ---help---
  20. This selects the platform specific bus support for the stmmac driver.
  21. This is the driver used on several SoCs:
  22. STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
  23. If you have a controller with this interface, say Y or M here.
  24. If unsure, say N.
  25. if STMMAC_PLATFORM
  26. config DWMAC_GENERIC
  27. tristate "Generic driver for DWMAC"
  28. default STMMAC_PLATFORM
  29. ---help---
  30. Generic DWMAC driver for platforms that don't require any
  31. platform specific code to function or is using platform
  32. data for setup.
  33. config DWMAC_IPQ806X
  34. tristate "QCA IPQ806x DWMAC support"
  35. default ARCH_QCOM
  36. depends on OF
  37. select MFD_SYSCON
  38. help
  39. Support for QCA IPQ806X DWMAC Ethernet.
  40. This selects the IPQ806x SoC glue layer support for the stmmac
  41. device driver. This driver does not use any of the hardware
  42. acceleration features available on this SoC. Network devices
  43. will behave like standard non-accelerated ethernet interfaces.
  44. config DWMAC_LPC18XX
  45. tristate "NXP LPC18xx/43xx DWMAC support"
  46. default ARCH_LPC18XX
  47. depends on OF
  48. select MFD_SYSCON
  49. ---help---
  50. Support for NXP LPC18xx/43xx DWMAC Ethernet.
  51. config DWMAC_MESON
  52. tristate "Amlogic Meson dwmac support"
  53. default ARCH_MESON
  54. depends on OF
  55. help
  56. Support for Ethernet controller on Amlogic Meson SoCs.
  57. This selects the Amlogic Meson SoC glue layer support for
  58. the stmmac device driver. This driver is used for Meson6 and
  59. Meson8 SoCs.
  60. config DWMAC_ROCKCHIP
  61. tristate "Rockchip dwmac support"
  62. default ARCH_ROCKCHIP
  63. depends on OF
  64. select MFD_SYSCON
  65. help
  66. Support for Ethernet controller on Rockchip RK3288 SoC.
  67. This selects the Rockchip RK3288 SoC glue layer support for
  68. the stmmac device driver.
  69. config DWMAC_SOCFPGA
  70. tristate "SOCFPGA dwmac support"
  71. default ARCH_SOCFPGA
  72. depends on OF
  73. select MFD_SYSCON
  74. help
  75. Support for ethernet controller on Altera SOCFPGA
  76. This selects the Altera SOCFPGA SoC glue layer support
  77. for the stmmac device driver. This driver is used for
  78. arria5 and cyclone5 FPGA SoCs.
  79. config DWMAC_STI
  80. tristate "STi GMAC support"
  81. default ARCH_STI
  82. depends on OF
  83. select MFD_SYSCON
  84. ---help---
  85. Support for ethernet controller on STi SOCs.
  86. This selects STi SoC glue layer support for the stmmac
  87. device driver. This driver is used on for the STi series
  88. SOCs GMAC ethernet controller.
  89. config DWMAC_SUNXI
  90. tristate "Allwinner GMAC support"
  91. default ARCH_SUNXI
  92. depends on OF
  93. ---help---
  94. Support for Allwinner A20/A31 GMAC ethernet controllers.
  95. This selects Allwinner SoC glue layer support for the
  96. stmmac device driver. This driver is used for A20/A31
  97. GMAC ethernet controller.
  98. endif
  99. config STMMAC_PCI
  100. tristate "STMMAC PCI bus support"
  101. depends on STMMAC_ETH && PCI
  102. ---help---
  103. This is to select the Synopsys DWMAC available on PCI devices,
  104. if you have a controller with this interface, say Y or M here.
  105. This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
  106. D1215994A VIRTEX FPGA board.
  107. If unsure, say N.
  108. endif