]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/net/ethernet/stmicro/stmmac/Kconfig
Merge tag 'mfd-arizona-v3.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-zesty-kernel.git] / drivers / net / ethernet / stmicro / stmmac / Kconfig
CommitLineData
47dd7a54
GC
1config STMMAC_ETH
2 tristate "STMicroelectronics 10/100/1000 Ethernet driver"
fd1eb9e6 3 depends on HAS_IOMEM && HAS_DMA
aaba215c 4 select NET_CORE
47dd7a54
GC
5 select MII
6 select PHYLIB
7ba8a9b4 7 select CRC32
92ba6888 8 select PTP_1588_CLOCK
7ac6653a 9 ---help---
7187c1ad 10 This is the driver for the Ethernet IPs are built around a
ac75791a 11 Synopsys IP Core and only tested on the STMicroelectronics
7187c1ad 12 platforms.
47dd7a54
GC
13
14if STMMAC_ETH
15
bfab27a1 16config STMMAC_PLATFORM
ba27ec66 17 bool "STMMAC Platform bus support"
bfab27a1 18 depends on STMMAC_ETH
33d5e332 19 default y
bfab27a1
GC
20 ---help---
21 This selects the platform specific bus support for
22 the stmmac device driver. This is the driver used
23 on many embedded STM platforms based on ARM and SuperH
24 processors.
25 If you have a controller with this interface, say Y or M here.
26
27 If unsure, say N.
28
29config STMMAC_PCI
6e1215ad
KC
30 bool "STMMAC PCI bus support"
31 depends on STMMAC_ETH && PCI
bfab27a1
GC
32 ---help---
33 This is to select the Synopsys DWMAC available on PCI devices,
34 if you have a controller with this interface, say Y or M here.
35
36 This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
37 D1215994A VIRTEX FPGA board.
38
39 If unsure, say N.
40
7ac29055
GC
41config STMMAC_DEBUG_FS
42 bool "Enable monitoring via sysFS "
43 default n
44 depends on STMMAC_ETH && DEBUG_FS
bfab27a1 45 ---help---
e7434821
GC
46 The stmmac entry in /sys reports DMA TX/RX rings
47 or (if supported) the HW cap register.
7ac29055 48
47dd7a54
GC
49config STMMAC_DA
50 bool "STMMAC DMA arbitration scheme"
51 default n
7ac6653a 52 ---help---
47dd7a54
GC
53 Selecting this option, rx has priority over Tx (only for Giga
54 Ethernet device).
55 By default, the DMA arbitration scheme is based on Round-robin
56 (rx:tx priority is 1:1).
57
47dd7a54 58endif