blob: fb287649a3054a16e55bda06027be354431e7990 [file] [log] [blame]
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07001config 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 CAVALLARO7187c1a2010-01-06 23:07:22 +00007 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 Cavallaro47dd7a52009-10-14 15:13:45 -070010
11if STMMAC_ETH
12
13config 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
22config 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
31config STMMAC_TIMER
32 bool "STMMAC Timer optimisation"
33 default n
34 help
35 Use an external timer for mitigating the number of network
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +000036 interrupts. Currently, for SH architectures, it is possible
37 to use the TMU channel 2 and the SH-RTC device.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -070038
39choice
40 prompt "Select Timer device"
41 depends on STMMAC_TIMER
42
43config STMMAC_TMU_TIMER
44 bool "TMU channel 2"
45 depends on CPU_SH4
46 help
47
48config STMMAC_RTC_TIMER
49 bool "Real time clock"
50 depends on RTC_CLASS
51 help
52
53endchoice
54
55endif