17ac6653aSJeff Kirsherconfig STMMAC_ETH
27ac6653aSJeff Kirsher	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
3fd1eb9e6SGeert Uytterhoeven	depends on HAS_IOMEM && HAS_DMA
47ac6653aSJeff Kirsher	select MII
57ac6653aSJeff Kirsher	select PHYLIB
67ac6653aSJeff Kirsher	select CRC32
792ba6888SRayagond Kokatanur	select PTP_1588_CLOCK
8c5e4ddbdSChen-Yu Tsai	select RESET_CONTROLLER
97ac6653aSJeff Kirsher	---help---
107ac6653aSJeff Kirsher	  This is the driver for the Ethernet IPs are built around a
117ac6653aSJeff Kirsher	  Synopsys IP Core and only tested on the STMicroelectronics
127ac6653aSJeff Kirsher	  platforms.
137ac6653aSJeff Kirsher
147ac6653aSJeff Kirsherif STMMAC_ETH
157ac6653aSJeff Kirsher
16bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PLATFORM
17b2e2f0c7SAndy Shevchenko	tristate "STMMAC Platform bus support"
18bfab27a1SGiuseppe CAVALLARO	depends on STMMAC_ETH
1933d5e332SGiuseppe CAVALLARO	default y
20bfab27a1SGiuseppe CAVALLARO	---help---
21c0d54066SGiuseppe CAVALLARO	  This selects the platform specific bus support for the stmmac driver.
22c0d54066SGiuseppe CAVALLARO	  This is the driver used on several SoCs:
23c0d54066SGiuseppe CAVALLARO	  STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
24c0d54066SGiuseppe CAVALLARO
25bfab27a1SGiuseppe CAVALLARO	  If you have a controller with this interface, say Y or M here.
26bfab27a1SGiuseppe CAVALLARO
27bfab27a1SGiuseppe CAVALLARO	  If unsure, say N.
28bfab27a1SGiuseppe CAVALLARO
29ba25020eSJoachim Eastwoodif STMMAC_PLATFORM
30ba25020eSJoachim Eastwood
31ba25020eSJoachim Eastwoodconfig DWMAC_GENERIC
32ba25020eSJoachim Eastwood	tristate "Generic driver for DWMAC"
33ba25020eSJoachim Eastwood	default STMMAC_PLATFORM
34ba25020eSJoachim Eastwood	---help---
35ba25020eSJoachim Eastwood	  Generic DWMAC driver for platforms that don't require any
36ba25020eSJoachim Eastwood	  platform specific code to function or is using platform
37ba25020eSJoachim Eastwood	  data for setup.
38ba25020eSJoachim Eastwood
3969bdd2d4SJoachim Eastwoodconfig DWMAC_LPC18XX
4069bdd2d4SJoachim Eastwood	tristate "NXP LPC18xx/43xx DWMAC support"
4169bdd2d4SJoachim Eastwood	default ARCH_LPC18XX
4269bdd2d4SJoachim Eastwood	depends on OF
4369bdd2d4SJoachim Eastwood	select MFD_SYSCON
4469bdd2d4SJoachim Eastwood	---help---
4569bdd2d4SJoachim Eastwood	  Support for NXP LPC18xx/43xx DWMAC Ethernet.
4669bdd2d4SJoachim Eastwood
47ba25020eSJoachim Eastwoodendif
48ba25020eSJoachim Eastwood
49bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PCI
50b2e2f0c7SAndy Shevchenko	tristate "STMMAC PCI bus support"
516e1215adSKees Cook	depends on STMMAC_ETH && PCI
52bfab27a1SGiuseppe CAVALLARO	---help---
53bfab27a1SGiuseppe CAVALLARO	  This is to select the Synopsys DWMAC available on PCI devices,
54bfab27a1SGiuseppe CAVALLARO	  if you have a controller with this interface, say Y or M here.
55bfab27a1SGiuseppe CAVALLARO
56bfab27a1SGiuseppe CAVALLARO	  This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
57bfab27a1SGiuseppe CAVALLARO	  D1215994A VIRTEX FPGA board.
58bfab27a1SGiuseppe CAVALLARO
59bfab27a1SGiuseppe CAVALLARO	  If unsure, say N.
607ac6653aSJeff Kirsherendif
61