diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /drivers/net/stmmac/Kconfig | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'drivers/net/stmmac/Kconfig')
-rw-r--r-- | drivers/net/stmmac/Kconfig | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/drivers/net/stmmac/Kconfig b/drivers/net/stmmac/Kconfig new file mode 100644 index 00000000000..7df7df4e79c --- /dev/null +++ b/drivers/net/stmmac/Kconfig | |||
@@ -0,0 +1,57 @@ | |||
1 | config STMMAC_ETH | ||
2 | tristate "STMicroelectronics 10/100/1000 Ethernet driver" | ||
3 | select MII | ||
4 | select PHYLIB | ||
5 | select CRC32 | ||
6 | depends on NETDEVICES && HAS_IOMEM | ||
7 | help | ||
8 | This is the driver for the Ethernet IPs are built around a | ||
9 | Synopsys IP Core and only tested on the STMicroelectronics | ||
10 | platforms. | ||
11 | |||
12 | if STMMAC_ETH | ||
13 | |||
14 | config STMMAC_DA | ||
15 | bool "STMMAC DMA arbitration scheme" | ||
16 | default n | ||
17 | help | ||
18 | Selecting this option, rx has priority over Tx (only for Giga | ||
19 | Ethernet device). | ||
20 | By default, the DMA arbitration scheme is based on Round-robin | ||
21 | (rx:tx priority is 1:1). | ||
22 | |||
23 | config STMMAC_DUAL_MAC | ||
24 | bool "STMMAC: dual mac support (EXPERIMENTAL)" | ||
25 | default n | ||
26 | depends on EXPERIMENTAL && STMMAC_ETH && !STMMAC_TIMER | ||
27 | help | ||
28 | Some ST SoCs (for example the stx7141 and stx7200c2) have two | ||
29 | Ethernet Controllers. This option turns on the second Ethernet | ||
30 | device on this kind of platforms. | ||
31 | |||
32 | config STMMAC_TIMER | ||
33 | bool "STMMAC Timer optimisation" | ||
34 | default n | ||
35 | depends on RTC_HCTOSYS_DEVICE | ||
36 | help | ||
37 | Use an external timer for mitigating the number of network | ||
38 | interrupts. Currently, for SH architectures, it is possible | ||
39 | to use the TMU channel 2 and the SH-RTC device. | ||
40 | |||
41 | choice | ||
42 | prompt "Select Timer device" | ||
43 | depends on STMMAC_TIMER | ||
44 | |||
45 | config STMMAC_TMU_TIMER | ||
46 | bool "TMU channel 2" | ||
47 | depends on CPU_SH4 | ||
48 | help | ||
49 | |||
50 | config STMMAC_RTC_TIMER | ||
51 | bool "Real time clock" | ||
52 | depends on RTC_CLASS | ||
53 | help | ||
54 | |||
55 | endchoice | ||
56 | |||
57 | endif | ||