Kconfig 1.6 KB
Newer Older
1 2
config STMMAC_ETH
	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
3
	depends on HAS_IOMEM
4
	select NET_CORE
5 6
	select MII
	select PHYLIB
7
	select CRC32
8
	---help---
9
	  This is the driver for the Ethernet IPs are built around a
10
	  Synopsys IP Core and only tested on the STMicroelectronics
11
	  platforms.
12 13 14

if STMMAC_ETH

15 16 17 18 19
config STMMAC_DEBUG_FS
	bool "Enable monitoring via sysFS "
	default n
	depends on STMMAC_ETH && DEBUG_FS
	-- help
20 21
	  The stmmac entry in /sys reports DMA TX/RX rings
	  or (if supported) the HW cap register.
22

23 24 25
config STMMAC_DA
	bool "STMMAC DMA arbitration scheme"
	default n
26
	---help---
27 28 29 30 31 32 33 34 35
	  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
36
	---help---
37 38 39 40 41 42 43
	  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
44
	depends on RTC_HCTOSYS_DEVICE
45
	---help---
46
	  Use an external timer for mitigating the number of network
47 48
	  interrupts. Currently, for SH architectures, it is possible
	  to use the TMU channel 2 and the SH-RTC device.
49 50 51 52 53 54 55 56

choice
        prompt "Select Timer device"
        depends on STMMAC_TIMER

config STMMAC_TMU_TIMER
        bool "TMU channel 2"
        depends on CPU_SH4
57
	---help---
58 59 60 61

config STMMAC_RTC_TIMER
        bool "Real time clock"
        depends on RTC_CLASS
62
	---help---
63 64 65 66

endchoice

endif