1config STMMAC_ETH
2	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
3	depends on HAS_IOMEM
4	select NET_CORE
5	select MII
6	select PHYLIB
7	select CRC32
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 (EXPERIMENTAL)"
30	depends on STMMAC_ETH && PCI && EXPERIMENTAL
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
57choice
58	prompt "Select the DMA TX/RX descriptor operating modes"
59	depends on STMMAC_ETH
60	---help---
61	  This driver supports DMA descriptor to operate both in dual buffer
62	  (RING) and linked-list(CHAINED) mode. In RING mode each descriptor
63	  points to two data buffer pointers whereas in CHAINED mode they
64	  points to only one data buffer pointer.
65
66config STMMAC_RING
67	bool "Enable Descriptor Ring Mode"
68
69config STMMAC_CHAINED
70	bool "Enable Descriptor Chained Mode"
71
72endchoice
73
74
75endif
76