2 tristate "STMicroelectronics 10/100/1000 Ethernet driver"
3 depends on HAS_IOMEM && HAS_DMA
8 select RESET_CONTROLLER
10 This is the driver for the Ethernet IPs are built around a
11 Synopsys IP Core and only tested on the STMicroelectronics
16 config STMMAC_PLATFORM
17 bool "STMMAC Platform bus support"
21 This selects the platform specific bus support for
22 the stmmac device driver. This is the driver used
23 on many embedded STM platforms based on ARM and SuperH
25 If you have a controller with this interface, say Y or M here.
30 bool "Amlogic Meson dwmac support"
31 depends on STMMAC_PLATFORM && ARCH_MESON
33 Support for Ethernet controller on Amlogic Meson SoCs.
35 This selects the Amlogic Meson SoC glue layer support for
36 the stmmac device driver. This driver is used for Meson6 and
40 bool "SOCFPGA dwmac support"
41 depends on STMMAC_PLATFORM && MFD_SYSCON && (ARCH_SOCFPGA || COMPILE_TEST)
43 Support for ethernet controller on Altera SOCFPGA
45 This selects the Altera SOCFPGA SoC glue layer support
46 for the stmmac device driver. This driver is used for
47 arria5 and cyclone5 FPGA SoCs.
50 bool "Allwinner GMAC support"
51 depends on STMMAC_PLATFORM && ARCH_SUNXI
54 Support for Allwinner A20/A31 GMAC ethernet controllers.
56 This selects Allwinner SoC glue layer support for the
57 stmmac device driver. This driver is used for A20/A31
58 GMAC ethernet controller.
61 bool "STi GMAC support"
62 depends on STMMAC_PLATFORM && ARCH_STI
65 Support for ethernet controller on STi SOCs.
67 This selects STi SoC glue layer support for the stmmac
68 device driver. This driver is used on for the STi series
69 SOCs GMAC ethernet controller.
72 bool "STMMAC PCI bus support"
73 depends on STMMAC_ETH && PCI
75 This is to select the Synopsys DWMAC available on PCI devices,
76 if you have a controller with this interface, say Y or M here.
78 This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
79 D1215994A VIRTEX FPGA board.
83 config STMMAC_DEBUG_FS
84 bool "Enable monitoring via sysFS "
86 depends on STMMAC_ETH && DEBUG_FS
88 The stmmac entry in /sys reports DMA TX/RX rings
89 or (if supported) the HW cap register.
92 bool "STMMAC DMA arbitration scheme"
95 Selecting this option, rx has priority over Tx (only for Giga
97 By default, the DMA arbitration scheme is based on Round-robin
98 (rx:tx priority is 1:1).