Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. bool "STMMAC Platform bus support"
  16. depends on STMMAC_ETH
  17. default y
  18. ---help---
  19. This selects the platform specific bus support for
  20. the stmmac device driver. This is the driver used
  21. on many embedded STM platforms based on ARM and SuperH
  22. processors.
  23. If you have a controller with this interface, say Y or M here.
  24. If unsure, say N.
  25. config DWMAC_MESON
  26. bool "Amlogic Meson dwmac support"
  27. depends on STMMAC_PLATFORM && ARCH_MESON
  28. help
  29. Support for Ethernet controller on Amlogic Meson SoCs.
  30. This selects the Amlogic Meson SoC glue layer support for
  31. the stmmac device driver. This driver is used for Meson6 and
  32. Meson8 SoCs.
  33. config DWMAC_SOCFPGA
  34. bool "SOCFPGA dwmac support"
  35. depends on STMMAC_PLATFORM && MFD_SYSCON && (ARCH_SOCFPGA || COMPILE_TEST)
  36. help
  37. Support for ethernet controller on Altera SOCFPGA
  38. This selects the Altera SOCFPGA SoC glue layer support
  39. for the stmmac device driver. This driver is used for
  40. arria5 and cyclone5 FPGA SoCs.
  41. config DWMAC_SUNXI
  42. bool "Allwinner GMAC support"
  43. depends on STMMAC_PLATFORM && ARCH_SUNXI
  44. default y
  45. ---help---
  46. Support for Allwinner A20/A31 GMAC ethernet controllers.
  47. This selects Allwinner SoC glue layer support for the
  48. stmmac device driver. This driver is used for A20/A31
  49. GMAC ethernet controller.
  50. config DWMAC_STI
  51. bool "STi GMAC support"
  52. depends on STMMAC_PLATFORM && ARCH_STI
  53. default y
  54. ---help---
  55. Support for ethernet controller on STi SOCs.
  56. This selects STi SoC glue layer support for the stmmac
  57. device driver. This driver is used on for the STi series
  58. SOCs GMAC ethernet controller.
  59. config STMMAC_PCI
  60. bool "STMMAC PCI bus support"
  61. depends on STMMAC_ETH && PCI
  62. ---help---
  63. This is to select the Synopsys DWMAC available on PCI devices,
  64. if you have a controller with this interface, say Y or M here.
  65. This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
  66. D1215994A VIRTEX FPGA board.
  67. If unsure, say N.
  68. config STMMAC_DEBUG_FS
  69. bool "Enable monitoring via sysFS "
  70. default n
  71. depends on STMMAC_ETH && DEBUG_FS
  72. ---help---
  73. The stmmac entry in /sys reports DMA TX/RX rings
  74. or (if supported) the HW cap register.
  75. config STMMAC_DA
  76. bool "STMMAC DMA arbitration scheme"
  77. default n
  78. ---help---
  79. Selecting this option, rx has priority over Tx (only for Giga
  80. Ethernet device).
  81. By default, the DMA arbitration scheme is based on Round-robin
  82. (rx:tx priority is 1:1).
  83. endif