Kconfig 2.0 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_PLATFORM
  14. bool "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. bool "STMMAC PCI bus support"
  26. depends on STMMAC_ETH && PCI
  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. 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