1config STMMAC_ETH
2	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
3	depends on HAS_IOMEM && HAS_DMA
4	select MII
5	select PHYLIB
6	select CRC32
7	select PTP_1588_CLOCK
8	---help---
9	  This is the driver for the Ethernet IPs are built around a
10	  Synopsys IP Core and only tested on the STMicroelectronics
11	  platforms.
12
13if STMMAC_ETH
14
15config STMMAC_PLATFORM
16	bool "STMMAC Platform bus support"
17	depends on STMMAC_ETH
18	default y
19	---help---
20	  This selects the platform specific bus support for
21	  the stmmac device driver. This is the driver used
22	  on many embedded STM platforms based on ARM and SuperH
23	  processors.
24	  If you have a controller with this interface, say Y or M here.
25
26	  If unsure, say N.
27
28config STMMAC_PCI
29	bool "STMMAC PCI bus support"
30	depends on STMMAC_ETH && PCI
31	---help---
32	  This is to select the Synopsys DWMAC available on PCI devices,
33	  if you have a controller with this interface, say Y or M here.
34
35	  This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
36	  D1215994A VIRTEX FPGA board.
37
38	  If unsure, say N.
39
40config STMMAC_DEBUG_FS
41	bool "Enable monitoring via sysFS "
42	default n
43	depends on STMMAC_ETH && DEBUG_FS
44	---help---
45	  The stmmac entry in /sys reports DMA TX/RX rings
46	  or (if supported) the HW cap register.
47
48config STMMAC_DA
49	bool "STMMAC DMA arbitration scheme"
50	default n
51	---help---
52	  Selecting this option, rx has priority over Tx (only for Giga
53	  Ethernet device).
54	  By default, the DMA arbitration scheme is based on Round-robin
55	  (rx:tx priority is 1:1).
56
57endif
58