]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/net/ethernet/stmicro/stmmac/Kconfig
stmmac: add a generic dwmac driver
[mirror_ubuntu-artful-kernel.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
33d5e332 19 default y
bfab27a1 20 ---help---
c0d54066
GC
21 This selects the platform specific bus support for the stmmac driver.
22 This is the driver used on several SoCs:
23 STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
24
bfab27a1
GC
25 If you have a controller with this interface, say Y or M here.
26
27 If unsure, say N.
28
ba25020e
JE
29if STMMAC_PLATFORM
30
31config DWMAC_GENERIC
32 tristate "Generic driver for DWMAC"
33 default STMMAC_PLATFORM
34 ---help---
35 Generic DWMAC driver for platforms that don't require any
36 platform specific code to function or is using platform
37 data for setup.
38
39endif
40
bfab27a1 41config STMMAC_PCI
b2e2f0c7 42 tristate "STMMAC PCI bus support"
6e1215ad 43 depends on STMMAC_ETH && PCI
bfab27a1
GC
44 ---help---
45 This is to select the Synopsys DWMAC available on PCI devices,
46 if you have a controller with this interface, say Y or M here.
47
48 This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
49 D1215994A VIRTEX FPGA board.
50
51 If unsure, say N.
47dd7a54 52endif