Kconfig 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. config STMMAC_ETH
  2. tristate "STMicroelectronics 10/100/1000 Ethernet driver"
  3. depends on HAS_IOMEM
  4. select NET_CORE
  5. select MII
  6. select PHYLIB
  7. select CRC32
  8. ---help---
  9. This is the driver for the Ethernet IPs are built around a
  10. Synopsys IP Core and only tested on the STMicroelectronics
  11. platforms.
  12. if STMMAC_ETH
  13. config STMMAC_PLATFORM
  14. bool "STMMAC Platform bus support"
  15. depends on STMMAC_ETH
  16. ---help---
  17. This selects the platform specific bus support for
  18. the stmmac device driver. This is the driver used
  19. on many embedded STM platforms based on ARM and SuperH
  20. processors.
  21. If you have a controller with this interface, say Y or M here.
  22. If unsure, say N.
  23. config STMMAC_PCI
  24. bool "STMMAC PCI bus support (EXPERIMENTAL)"
  25. depends on STMMAC_ETH && PCI && EXPERIMENTAL
  26. ---help---
  27. This is to select the Synopsys DWMAC available on PCI devices,
  28. if you have a controller with this interface, say Y or M here.
  29. This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
  30. D1215994A VIRTEX FPGA board.
  31. If unsure, say N.
  32. config STMMAC_DEBUG_FS
  33. bool "Enable monitoring via sysFS "
  34. default n
  35. depends on STMMAC_ETH && DEBUG_FS
  36. ---help---
  37. The stmmac entry in /sys reports DMA TX/RX rings
  38. or (if supported) the HW cap register.
  39. config STMMAC_DA
  40. bool "STMMAC DMA arbitration scheme"
  41. default n
  42. ---help---
  43. Selecting this option, rx has priority over Tx (only for Giga
  44. Ethernet device).
  45. By default, the DMA arbitration scheme is based on Round-robin
  46. (rx:tx priority is 1:1).
  47. config STMMAC_TIMER
  48. bool "STMMAC Timer optimisation"
  49. default n
  50. depends on RTC_HCTOSYS_DEVICE
  51. ---help---
  52. Use an external timer for mitigating the number of network
  53. interrupts. Currently, for SH architectures, it is possible
  54. to use the TMU channel 2 and the SH-RTC device.
  55. choice
  56. prompt "Select Timer device"
  57. depends on STMMAC_TIMER
  58. config STMMAC_TMU_TIMER
  59. bool "TMU channel 2"
  60. depends on CPU_SH4
  61. ---help---
  62. config STMMAC_RTC_TIMER
  63. bool "Real time clock"
  64. depends on RTC_CLASS
  65. ---help---
  66. endchoice
  67. choice
  68. prompt "Select the DMA TX/RX descriptor operating modes"
  69. depends on STMMAC_ETH
  70. ---help---
  71. This driver supports DMA descriptor to operate both in dual buffer
  72. (RING) and linked-list(CHAINED) mode. In RING mode each descriptor
  73. points to two data buffer pointers whereas in CHAINED mode they
  74. points to only one data buffer pointer.
  75. config STMMAC_RING
  76. bool "Enable Descriptor Ring Mode"
  77. config STMMAC_CHAINED
  78. bool "Enable Descriptor Chained Mode"
  79. endchoice
  80. endif