2009-10-15 06:13:45 +08:00
|
|
|
config STMMAC_ETH
|
|
|
|
tristate "STMicroelectronics 10/100/1000 Ethernet driver"
|
2013-05-09 19:04:46 +08:00
|
|
|
depends on HAS_IOMEM && HAS_DMA
|
2009-10-15 06:13:45 +08:00
|
|
|
select MII
|
|
|
|
select PHYLIB
|
2010-04-01 05:44:03 +08:00
|
|
|
select CRC32
|
2013-03-26 12:43:11 +08:00
|
|
|
select PTP_1588_CLOCK
|
2014-01-17 21:24:41 +08:00
|
|
|
select RESET_CONTROLLER
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2010-01-07 07:07:22 +08:00
|
|
|
This is the driver for the Ethernet IPs are built around a
|
2010-08-24 04:40:41 +08:00
|
|
|
Synopsys IP Core and only tested on the STMicroelectronics
|
2010-01-07 07:07:22 +08:00
|
|
|
platforms.
|
2009-10-15 06:13:45 +08:00
|
|
|
|
|
|
|
if STMMAC_ETH
|
|
|
|
|
2011-12-21 11:58:19 +08:00
|
|
|
config STMMAC_PLATFORM
|
2012-06-05 03:22:57 +08:00
|
|
|
bool "STMMAC Platform bus support"
|
2011-12-21 11:58:19 +08:00
|
|
|
depends on STMMAC_ETH
|
2012-06-08 03:25:07 +08:00
|
|
|
default y
|
2011-12-21 11:58:19 +08:00
|
|
|
---help---
|
|
|
|
This selects the platform specific bus support for
|
|
|
|
the stmmac device driver. This is the driver used
|
|
|
|
on many embedded STM platforms based on ARM and SuperH
|
|
|
|
processors.
|
|
|
|
If you have a controller with this interface, say Y or M here.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2014-03-27 11:45:10 +08:00
|
|
|
config DWMAC_SOCFPGA
|
|
|
|
bool "SOCFPGA dwmac support"
|
|
|
|
depends on STMMAC_PLATFORM && MFD_SYSCON && (ARCH_SOCFPGA || COMPILE_TEST)
|
|
|
|
help
|
|
|
|
Support for ethernet controller on Altera SOCFPGA
|
|
|
|
|
|
|
|
This selects the Altera SOCFPGA SoC glue layer support
|
|
|
|
for the stmmac device driver. This driver is used for
|
|
|
|
arria5 and cyclone5 FPGA SoCs.
|
|
|
|
|
2014-01-17 21:24:47 +08:00
|
|
|
config DWMAC_SUNXI
|
|
|
|
bool "Allwinner GMAC support"
|
|
|
|
depends on STMMAC_PLATFORM && ARCH_SUNXI
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Support for Allwinner A20/A31 GMAC ethernet controllers.
|
|
|
|
|
|
|
|
This selects Allwinner SoC glue layer support for the
|
|
|
|
stmmac device driver. This driver is used for A20/A31
|
|
|
|
GMAC ethernet controller.
|
|
|
|
|
2014-02-11 17:59:57 +08:00
|
|
|
config DWMAC_STI
|
|
|
|
bool "STi GMAC support"
|
|
|
|
depends on STMMAC_PLATFORM && ARCH_STI
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Support for ethernet controller on STi SOCs.
|
|
|
|
|
|
|
|
This selects STi SoC glue layer support for the stmmac
|
|
|
|
device driver. This driver is used on for the STi series
|
|
|
|
SOCs GMAC ethernet controller.
|
|
|
|
|
2011-12-21 11:58:19 +08:00
|
|
|
config STMMAC_PCI
|
2013-01-23 02:30:30 +08:00
|
|
|
bool "STMMAC PCI bus support"
|
|
|
|
depends on STMMAC_ETH && PCI
|
2011-12-21 11:58:19 +08:00
|
|
|
---help---
|
|
|
|
This is to select the Synopsys DWMAC available on PCI devices,
|
|
|
|
if you have a controller with this interface, say Y or M here.
|
|
|
|
|
|
|
|
This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
|
|
|
|
D1215994A VIRTEX FPGA board.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2011-09-02 05:51:39 +08:00
|
|
|
config STMMAC_DEBUG_FS
|
|
|
|
bool "Enable monitoring via sysFS "
|
|
|
|
default n
|
|
|
|
depends on STMMAC_ETH && DEBUG_FS
|
2011-12-21 11:58:19 +08:00
|
|
|
---help---
|
2011-09-02 05:51:41 +08:00
|
|
|
The stmmac entry in /sys reports DMA TX/RX rings
|
|
|
|
or (if supported) the HW cap register.
|
2011-09-02 05:51:39 +08:00
|
|
|
|
2009-10-15 06:13:45 +08:00
|
|
|
config STMMAC_DA
|
|
|
|
bool "STMMAC DMA arbitration scheme"
|
|
|
|
default n
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2009-10-15 06:13:45 +08:00
|
|
|
Selecting this option, rx has priority over Tx (only for Giga
|
|
|
|
Ethernet device).
|
|
|
|
By default, the DMA arbitration scheme is based on Round-robin
|
|
|
|
(rx:tx priority is 1:1).
|
|
|
|
|
|
|
|
endif
|