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