blob: a5a56217a8455345f9a27546416440251ea6dc34 [file] [log] [blame]
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07001config STMMAC_ETH
2 tristate "STMicroelectronics 10/100/1000 Ethernet driver"
Geert Uytterhoevenfd1eb9e2013-05-09 11:04:46 +00003 depends on HAS_IOMEM && HAS_DMA
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07004 select MII
5 select PHYLIB
Carmelo AMOROSO7ba8a9b2010-03-31 21:44:03 +00006 select CRC32
Rayagond Kokatanur92ba6882013-03-26 04:43:11 +00007 select PTP_1588_CLOCK
Chen-Yu Tsaic5e4ddb2014-01-17 21:24:41 +08008 select RESET_CONTROLLER
Jeff Kirsher7ac66532011-05-16 00:05:19 -07009 ---help---
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +000010 This is the driver for the Ethernet IPs are built around a
Giuseppe CAVALLAROac757912010-08-23 20:40:41 +000011 Synopsys IP Core and only tested on the STMicroelectronics
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +000012 platforms.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -070013
14if STMMAC_ETH
15
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000016config STMMAC_PLATFORM
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +020017 tristate "STMMAC Platform bus support"
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000018 depends on STMMAC_ETH
Giuseppe CAVALLARO33d5e332012-06-07 19:25:07 +000019 default y
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000020 ---help---
Giuseppe CAVALLAROc0d54062014-11-04 15:49:32 +010021 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
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000025 If you have a controller with this interface, say Y or M here.
26
27 If unsure, say N.
28
Joachim Eastwoodba250202015-05-14 12:10:59 +020029if 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
Joachim Eastwood69bdd2d2015-05-14 12:11:00 +020039config DWMAC_LPC18XX
40 tristate "NXP LPC18xx/43xx DWMAC support"
41 default ARCH_LPC18XX
42 depends on OF
43 select MFD_SYSCON
44 ---help---
45 Support for NXP LPC18xx/43xx DWMAC Ethernet.
46
Joachim Eastwood40e6b0b2015-05-14 12:11:01 +020047config DWMAC_MESON
48 tristate "Amlogic Meson dwmac support"
49 default ARCH_MESON
50 depends on OF
51 help
52 Support for Ethernet controller on Amlogic Meson SoCs.
53
54 This selects the Amlogic Meson SoC glue layer support for
55 the stmmac device driver. This driver is used for Meson6 and
56 Meson8 SoCs.
57
Joachim Eastwoodba250202015-05-14 12:10:59 +020058endif
59
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000060config STMMAC_PCI
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +020061 tristate "STMMAC PCI bus support"
Kees Cook6e1215a2013-01-22 10:30:30 -080062 depends on STMMAC_ETH && PCI
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000063 ---help---
64 This is to select the Synopsys DWMAC available on PCI devices,
65 if you have a controller with this interface, say Y or M here.
66
67 This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
68 D1215994A VIRTEX FPGA board.
69
70 If unsure, say N.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -070071endif