Kconfig 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. config STMMAC_ETH
  2. tristate "STMicroelectronics 10/100/1000 Ethernet driver"
  3. select MII
  4. select PHYLIB
  5. select CRC32
  6. depends on NETDEVICES && HAS_IOMEM
  7. help
  8. This is the driver for the Ethernet IPs are built around a
  9. Synopsys IP Core and only tested on the STMicroelectronics
  10. platforms.
  11. if STMMAC_ETH
  12. config STMMAC_DA
  13. bool "STMMAC DMA arbitration scheme"
  14. default n
  15. help
  16. Selecting this option, rx has priority over Tx (only for Giga
  17. Ethernet device).
  18. By default, the DMA arbitration scheme is based on Round-robin
  19. (rx:tx priority is 1:1).
  20. config STMMAC_DUAL_MAC
  21. bool "STMMAC: dual mac support (EXPERIMENTAL)"
  22. default n
  23. depends on EXPERIMENTAL && STMMAC_ETH && !STMMAC_TIMER
  24. help
  25. Some ST SoCs (for example the stx7141 and stx7200c2) have two
  26. Ethernet Controllers. This option turns on the second Ethernet
  27. device on this kind of platforms.
  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. endif