Kconfig 2.1 KB
Newer Older
1 2
config STMMAC_ETH
	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
3
	depends on HAS_IOMEM && HAS_DMA
4 5
	select MII
	select PHYLIB
6
	select CRC32
7
	select PTP_1588_CLOCK
8
	select RESET_CONTROLLER
9
	---help---
10
	  This is the driver for the Ethernet IPs are built around a
11
	  Synopsys IP Core and only tested on the STMicroelectronics
12
	  platforms.
13 14 15

if STMMAC_ETH

16
config STMMAC_PLATFORM
17
	bool "STMMAC Platform bus support"
18
	depends on STMMAC_ETH
19
	default y
20 21 22 23 24 25 26 27 28
	---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.

29 30 31 32 33 34 35 36 37 38 39
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.

40 41 42 43 44 45 46 47 48 49 50
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.

51
config STMMAC_PCI
52 53
	bool "STMMAC PCI bus support"
	depends on STMMAC_ETH && PCI
54 55 56 57 58 59 60 61 62
	---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.

63 64 65 66
config STMMAC_DEBUG_FS
	bool "Enable monitoring via sysFS "
	default n
	depends on STMMAC_ETH && DEBUG_FS
67
	---help---
68 69
	  The stmmac entry in /sys reports DMA TX/RX rings
	  or (if supported) the HW cap register.
70

71 72 73
config STMMAC_DA
	bool "STMMAC DMA arbitration scheme"
	default n
74
	---help---
75 76 77 78 79 80
	  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