Kconfig 2.5 KB

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