2009-10-15 06:13:45 +08:00
|
|
|
config STMMAC_ETH
|
|
|
|
tristate "STMicroelectronics 10/100/1000 Ethernet driver"
|
2011-05-16 15:05:19 +08:00
|
|
|
depends on HAS_IOMEM
|
2009-10-15 06:13:45 +08:00
|
|
|
select MII
|
|
|
|
select PHYLIB
|
2010-04-01 05:44:03 +08:00
|
|
|
select CRC32
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2010-01-07 07:07:22 +08:00
|
|
|
This is the driver for the Ethernet IPs are built around a
|
2010-08-24 04:40:41 +08:00
|
|
|
Synopsys IP Core and only tested on the STMicroelectronics
|
2010-01-07 07:07:22 +08:00
|
|
|
platforms.
|
2009-10-15 06:13:45 +08:00
|
|
|
|
|
|
|
if STMMAC_ETH
|
|
|
|
|
2011-09-02 05:51:39 +08:00
|
|
|
config STMMAC_DEBUG_FS
|
|
|
|
bool "Enable monitoring via sysFS "
|
|
|
|
default n
|
|
|
|
depends on STMMAC_ETH && DEBUG_FS
|
|
|
|
-- help
|
|
|
|
The stmmac entry in /sys reports DMA TX/RX rings.
|
|
|
|
|
2009-10-15 06:13:45 +08:00
|
|
|
config STMMAC_DA
|
|
|
|
bool "STMMAC DMA arbitration scheme"
|
|
|
|
default n
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2009-10-15 06:13:45 +08:00
|
|
|
Selecting this option, rx has priority over Tx (only for Giga
|
|
|
|
Ethernet device).
|
|
|
|
By default, the DMA arbitration scheme is based on Round-robin
|
|
|
|
(rx:tx priority is 1:1).
|
|
|
|
|
|
|
|
config STMMAC_DUAL_MAC
|
|
|
|
bool "STMMAC: dual mac support (EXPERIMENTAL)"
|
|
|
|
default n
|
|
|
|
depends on EXPERIMENTAL && STMMAC_ETH && !STMMAC_TIMER
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2009-10-15 06:13:45 +08:00
|
|
|
Some ST SoCs (for example the stx7141 and stx7200c2) have two
|
|
|
|
Ethernet Controllers. This option turns on the second Ethernet
|
|
|
|
device on this kind of platforms.
|
|
|
|
|
|
|
|
config STMMAC_TIMER
|
|
|
|
bool "STMMAC Timer optimisation"
|
|
|
|
default n
|
2010-08-27 11:32:02 +08:00
|
|
|
depends on RTC_HCTOSYS_DEVICE
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2009-10-15 06:13:45 +08:00
|
|
|
Use an external timer for mitigating the number of network
|
2010-01-07 07:07:22 +08:00
|
|
|
interrupts. Currently, for SH architectures, it is possible
|
|
|
|
to use the TMU channel 2 and the SH-RTC device.
|
2009-10-15 06:13:45 +08:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Select Timer device"
|
|
|
|
depends on STMMAC_TIMER
|
|
|
|
|
|
|
|
config STMMAC_TMU_TIMER
|
|
|
|
bool "TMU channel 2"
|
|
|
|
depends on CPU_SH4
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2009-10-15 06:13:45 +08:00
|
|
|
|
|
|
|
config STMMAC_RTC_TIMER
|
|
|
|
bool "Real time clock"
|
|
|
|
depends on RTC_CLASS
|
2011-05-16 15:05:19 +08:00
|
|
|
---help---
|
2009-10-15 06:13:45 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|