Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 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 |
Giuseppe CAVALLARO | 7187c1a | 2010-01-06 23:07:22 +0000 | [diff] [blame] | 7 | This is the driver for the Ethernet IPs are built around a |
| 8 | Synopsys IP Core and fully tested on the STMicroelectronics |
| 9 | platforms. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 10 | |
| 11 | if STMMAC_ETH |
| 12 | |
| 13 | config STMMAC_DA |
| 14 | bool "STMMAC DMA arbitration scheme" |
| 15 | default n |
| 16 | help |
| 17 | Selecting this option, rx has priority over Tx (only for Giga |
| 18 | Ethernet device). |
| 19 | By default, the DMA arbitration scheme is based on Round-robin |
| 20 | (rx:tx priority is 1:1). |
| 21 | |
| 22 | config STMMAC_DUAL_MAC |
| 23 | bool "STMMAC: dual mac support (EXPERIMENTAL)" |
| 24 | default n |
| 25 | depends on EXPERIMENTAL && STMMAC_ETH && !STMMAC_TIMER |
| 26 | help |
| 27 | Some ST SoCs (for example the stx7141 and stx7200c2) have two |
| 28 | Ethernet Controllers. This option turns on the second Ethernet |
| 29 | device on this kind of platforms. |
| 30 | |
| 31 | config STMMAC_TIMER |
| 32 | bool "STMMAC Timer optimisation" |
| 33 | default n |
| 34 | help |
| 35 | Use an external timer for mitigating the number of network |
Giuseppe CAVALLARO | 7187c1a | 2010-01-06 23:07:22 +0000 | [diff] [blame] | 36 | interrupts. Currently, for SH architectures, it is possible |
| 37 | to use the TMU channel 2 and the SH-RTC device. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 38 | |
| 39 | choice |
| 40 | prompt "Select Timer device" |
| 41 | depends on STMMAC_TIMER |
| 42 | |
| 43 | config STMMAC_TMU_TIMER |
| 44 | bool "TMU channel 2" |
| 45 | depends on CPU_SH4 |
| 46 | help |
| 47 | |
| 48 | config STMMAC_RTC_TIMER |
| 49 | bool "Real time clock" |
| 50 | depends on RTC_CLASS |
| 51 | help |
| 52 | |
| 53 | endchoice |
| 54 | |
| 55 | endif |