Merge remote-tracking branch 'selinux/next'
[deliverable/linux.git] / drivers / net / ethernet / stmicro / stmmac / Kconfig
CommitLineData
47dd7a54
GC
1config STMMAC_ETH
2 tristate "STMicroelectronics 10/100/1000 Ethernet driver"
fd1eb9e6 3 depends on HAS_IOMEM && HAS_DMA
47dd7a54
GC
4 select MII
5 select PHYLIB
7ba8a9b4 6 select CRC32
92ba6888 7 select PTP_1588_CLOCK
c5e4ddbd 8 select RESET_CONTROLLER
7ac6653a 9 ---help---
7187c1ad 10 This is the driver for the Ethernet IPs are built around a
ac75791a 11 Synopsys IP Core and only tested on the STMicroelectronics
7187c1ad 12 platforms.
47dd7a54
GC
13
14if STMMAC_ETH
15
bfab27a1 16config STMMAC_PLATFORM
b2e2f0c7 17 tristate "STMMAC Platform bus support"
bfab27a1 18 depends on STMMAC_ETH
b1c17215 19 select MFD_SYSCON
33d5e332 20 default y
bfab27a1 21 ---help---
c0d54066
GC
22 This selects the platform specific bus support for the stmmac driver.
23 This is the driver used on several SoCs:
24 STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
25
bfab27a1
GC
26 If you have a controller with this interface, say Y or M here.
27
28 If unsure, say N.
29
ba25020e
JE
30if STMMAC_PLATFORM
31
32config DWMAC_GENERIC
33 tristate "Generic driver for DWMAC"
34 default STMMAC_PLATFORM
35 ---help---
36 Generic DWMAC driver for platforms that don't require any
37 platform specific code to function or is using platform
38 data for setup.
39
b1c17215
MO
40config DWMAC_IPQ806X
41 tristate "QCA IPQ806x DWMAC support"
42 default ARCH_QCOM
2e280c18 43 depends on OF && (ARCH_QCOM || COMPILE_TEST)
b1c17215
MO
44 select MFD_SYSCON
45 help
46 Support for QCA IPQ806X DWMAC Ethernet.
47
48 This selects the IPQ806x SoC glue layer support for the stmmac
49 device driver. This driver does not use any of the hardware
50 acceleration features available on this SoC. Network devices
51 will behave like standard non-accelerated ethernet interfaces.
52
69bdd2d4
JE
53config DWMAC_LPC18XX
54 tristate "NXP LPC18xx/43xx DWMAC support"
55 default ARCH_LPC18XX
2e280c18 56 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
69bdd2d4
JE
57 select MFD_SYSCON
58 ---help---
59 Support for NXP LPC18xx/43xx DWMAC Ethernet.
60
40e6b0ba
JE
61config DWMAC_MESON
62 tristate "Amlogic Meson dwmac support"
63 default ARCH_MESON
2e280c18 64 depends on OF && (ARCH_MESON || COMPILE_TEST)
40e6b0ba
JE
65 help
66 Support for Ethernet controller on Amlogic Meson SoCs.
67
68 This selects the Amlogic Meson SoC glue layer support for
69 the stmmac device driver. This driver is used for Meson6 and
70 Meson8 SoCs.
71
e0fb4013
JE
72config DWMAC_ROCKCHIP
73 tristate "Rockchip dwmac support"
74 default ARCH_ROCKCHIP
2e280c18 75 depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
e0fb4013
JE
76 select MFD_SYSCON
77 help
78 Support for Ethernet controller on Rockchip RK3288 SoC.
79
80 This selects the Rockchip RK3288 SoC glue layer support for
81 the stmmac device driver.
82
c7c52ae7
JE
83config DWMAC_SOCFPGA
84 tristate "SOCFPGA dwmac support"
85 default ARCH_SOCFPGA
2e280c18 86 depends on OF && (ARCH_SOCFPGA || COMPILE_TEST)
c7c52ae7
JE
87 select MFD_SYSCON
88 help
89 Support for ethernet controller on Altera SOCFPGA
90
91 This selects the Altera SOCFPGA SoC glue layer support
92 for the stmmac device driver. This driver is used for
93 arria5 and cyclone5 FPGA SoCs.
94
2a321798
JE
95config DWMAC_STI
96 tristate "STi GMAC support"
97 default ARCH_STI
2e280c18 98 depends on OF && (ARCH_STI || COMPILE_TEST)
2a321798
JE
99 select MFD_SYSCON
100 ---help---
101 Support for ethernet controller on STi SOCs.
102
103 This selects STi SoC glue layer support for the stmmac
104 device driver. This driver is used on for the STi series
105 SOCs GMAC ethernet controller.
106
c6eec6f3
AT
107config DWMAC_STM32
108 tristate "STM32 DWMAC support"
109 default ARCH_STM32
110 depends on OF && HAS_IOMEM
111 select MFD_SYSCON
112 ---help---
113 Support for ethernet controller on STM32 SOCs.
114
115 This selects STM32 SoC glue layer support for the stmmac
116 device driver. This driver is used on for the STM32 series
117 SOCs GMAC ethernet controller.
118
4198b7db
JE
119config DWMAC_SUNXI
120 tristate "Allwinner GMAC support"
121 default ARCH_SUNXI
2e280c18 122 depends on OF && (ARCH_SUNXI || COMPILE_TEST)
4198b7db
JE
123 ---help---
124 Support for Allwinner A20/A31 GMAC ethernet controllers.
125
126 This selects Allwinner SoC glue layer support for the
127 stmmac device driver. This driver is used for A20/A31
128 GMAC ethernet controller.
ba25020e
JE
129endif
130
bfab27a1 131config STMMAC_PCI
b2e2f0c7 132 tristate "STMMAC PCI bus support"
6e1215ad 133 depends on STMMAC_ETH && PCI
bfab27a1
GC
134 ---help---
135 This is to select the Synopsys DWMAC available on PCI devices,
136 if you have a controller with this interface, say Y or M here.
137
138 This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
139 D1215994A VIRTEX FPGA board.
140
141 If unsure, say N.
47dd7a54 142endif
This page took 0.715307 seconds and 5 git commands to generate.