blob: 643968098afdd44129487c052c636963f3c487d2 [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
Carmelo AMOROSO7ba8a9b2010-03-31 21:44:03 +00005 select CRC32
Giuseppe CAVALLAROac757912010-08-23 20:40:41 +00006 depends on NETDEVICES
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07007 help
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +00008 This is the driver for the Ethernet IPs are built around a
Giuseppe CAVALLAROac757912010-08-23 20:40:41 +00009 Synopsys IP Core and only tested on the STMicroelectronics
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +000010 platforms.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -070011
12if STMMAC_ETH
13
14config 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
23config 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
32config STMMAC_TIMER
33 bool "STMMAC Timer optimisation"
34 default n
35 help
36 Use an external timer for mitigating the number of network
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +000037 interrupts. Currently, for SH architectures, it is possible
38 to use the TMU channel 2 and the SH-RTC device.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -070039
40choice
41 prompt "Select Timer device"
42 depends on STMMAC_TIMER
43
44config STMMAC_TMU_TIMER
45 bool "TMU channel 2"
46 depends on CPU_SH4
47 help
48
49config STMMAC_RTC_TIMER
50 bool "Real time clock"
51 depends on RTC_CLASS
52 help
53
54endchoice
55
56endif