]>
Commit | Line | Data |
---|---|---|
47dd7a54 GC |
1 | config STMMAC_ETH |
2 | tristate "STMicroelectronics 10/100/1000 Ethernet driver" | |
fd1eb9e6 | 3 | depends on HAS_IOMEM && HAS_DMA |
47dd7a54 GC |
4 | select MII |
5 | select PHYLIB | |
7ba8a9b4 | 6 | select CRC32 |
92ba6888 | 7 | select PTP_1588_CLOCK |
c5e4ddbd | 8 | select RESET_CONTROLLER |
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 | |
14 | if STMMAC_ETH | |
15 | ||
bfab27a1 | 16 | config 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 | ||
af0bd4e9 CYT |
29 | config DWMAC_SUNXI |
30 | bool "Allwinner GMAC support" | |
31 | depends on STMMAC_PLATFORM && ARCH_SUNXI | |
32 | default y | |
33 | ---help--- | |
34 | Support for Allwinner A20/A31 GMAC ethernet controllers. | |
35 | ||
36 | This selects Allwinner SoC glue layer support for the | |
37 | stmmac device driver. This driver is used for A20/A31 | |
38 | GMAC ethernet controller. | |
39 | ||
d15891ca SK |
40 | config DWMAC_STI |
41 | bool "STi GMAC support" | |
42 | depends on STMMAC_PLATFORM && ARCH_STI | |
43 | default y | |
44 | ---help--- | |
45 | Support for ethernet controller on STi SOCs. | |
46 | ||
47 | This selects STi SoC glue layer support for the stmmac | |
48 | device driver. This driver is used on for the STi series | |
49 | SOCs GMAC ethernet controller. | |
50 | ||
bfab27a1 | 51 | config STMMAC_PCI |
6e1215ad KC |
52 | bool "STMMAC PCI bus support" |
53 | depends on STMMAC_ETH && PCI | |
bfab27a1 GC |
54 | ---help--- |
55 | This is to select the Synopsys DWMAC available on PCI devices, | |
56 | if you have a controller with this interface, say Y or M here. | |
57 | ||
58 | This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 | |
59 | D1215994A VIRTEX FPGA board. | |
60 | ||
61 | If unsure, say N. | |
62 | ||
7ac29055 GC |
63 | config STMMAC_DEBUG_FS |
64 | bool "Enable monitoring via sysFS " | |
65 | default n | |
66 | depends on STMMAC_ETH && DEBUG_FS | |
bfab27a1 | 67 | ---help--- |
e7434821 GC |
68 | The stmmac entry in /sys reports DMA TX/RX rings |
69 | or (if supported) the HW cap register. | |
7ac29055 | 70 | |
47dd7a54 GC |
71 | config STMMAC_DA |
72 | bool "STMMAC DMA arbitration scheme" | |
73 | default n | |
7ac6653a | 74 | ---help--- |
47dd7a54 GC |
75 | Selecting this option, rx has priority over Tx (only for Giga |
76 | Ethernet device). | |
77 | By default, the DMA arbitration scheme is based on Round-robin | |
78 | (rx:tx priority is 1:1). | |
79 | ||
47dd7a54 | 80 | endif |