Kconfig 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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_DEBUG_FS
  14. bool "Enable monitoring via sysFS "
  15. default n
  16. depends on STMMAC_ETH && DEBUG_FS
  17. -- help
  18. The stmmac entry in /sys reports DMA TX/RX rings
  19. or (if supported) the HW cap register.
  20. config STMMAC_DA
  21. bool "STMMAC DMA arbitration scheme"
  22. default n
  23. ---help---
  24. Selecting this option, rx has priority over Tx (only for Giga
  25. Ethernet device).
  26. By default, the DMA arbitration scheme is based on Round-robin
  27. (rx:tx priority is 1:1).
  28. config STMMAC_TIMER
  29. bool "STMMAC Timer optimisation"
  30. default n
  31. depends on RTC_HCTOSYS_DEVICE
  32. ---help---
  33. Use an external timer for mitigating the number of network
  34. interrupts. Currently, for SH architectures, it is possible
  35. to use the TMU channel 2 and the SH-RTC device.
  36. choice
  37. prompt "Select Timer device"
  38. depends on STMMAC_TIMER
  39. config STMMAC_TMU_TIMER
  40. bool "TMU channel 2"
  41. depends on CPU_SH4
  42. ---help---
  43. config STMMAC_RTC_TIMER
  44. bool "Real time clock"
  45. depends on RTC_CLASS
  46. ---help---
  47. endchoice
  48. choice
  49. prompt "Select the DMA TX/RX descriptor operating modes"
  50. depends on STMMAC_ETH
  51. ---help---
  52. This driver supports DMA descriptor to operate both in dual buffer
  53. (RING) and linked-list(CHAINED) mode. In RING mode each descriptor
  54. points to two data buffer pointers whereas in CHAINED mode they
  55. points to only one data buffer pointer.
  56. config STMMAC_RING
  57. bool "Enable Descriptor Ring Mode"
  58. config STMMAC_CHAINED
  59. bool "Enable Descriptor Chained Mode"
  60. endchoice
  61. endif