17ac6653aSJeff Kirsherconfig STMMAC_ETH 27ac6653aSJeff Kirsher tristate "STMicroelectronics 10/100/1000 Ethernet driver" 37ac6653aSJeff Kirsher depends on HAS_IOMEM 47ac6653aSJeff Kirsher select MII 57ac6653aSJeff Kirsher select PHYLIB 67ac6653aSJeff Kirsher select CRC32 77ac6653aSJeff Kirsher ---help--- 87ac6653aSJeff Kirsher This is the driver for the Ethernet IPs are built around a 97ac6653aSJeff Kirsher Synopsys IP Core and only tested on the STMicroelectronics 107ac6653aSJeff Kirsher platforms. 117ac6653aSJeff Kirsher 127ac6653aSJeff Kirsherif STMMAC_ETH 137ac6653aSJeff Kirsher 147ac29055SGiuseppe CAVALLAROconfig STMMAC_DEBUG_FS 157ac29055SGiuseppe CAVALLARO bool "Enable monitoring via sysFS " 167ac29055SGiuseppe CAVALLARO default n 177ac29055SGiuseppe CAVALLARO depends on STMMAC_ETH && DEBUG_FS 187ac29055SGiuseppe CAVALLARO -- help 19e7434821SGiuseppe CAVALLARO The stmmac entry in /sys reports DMA TX/RX rings 20e7434821SGiuseppe CAVALLARO or (if supported) the HW cap register. 217ac29055SGiuseppe CAVALLARO 227ac6653aSJeff Kirsherconfig STMMAC_DA 237ac6653aSJeff Kirsher bool "STMMAC DMA arbitration scheme" 247ac6653aSJeff Kirsher default n 257ac6653aSJeff Kirsher ---help--- 267ac6653aSJeff Kirsher Selecting this option, rx has priority over Tx (only for Giga 277ac6653aSJeff Kirsher Ethernet device). 287ac6653aSJeff Kirsher By default, the DMA arbitration scheme is based on Round-robin 297ac6653aSJeff Kirsher (rx:tx priority is 1:1). 307ac6653aSJeff Kirsher 317ac6653aSJeff Kirsherconfig STMMAC_DUAL_MAC 327ac6653aSJeff Kirsher bool "STMMAC: dual mac support (EXPERIMENTAL)" 337ac6653aSJeff Kirsher default n 347ac6653aSJeff Kirsher depends on EXPERIMENTAL && STMMAC_ETH && !STMMAC_TIMER 357ac6653aSJeff Kirsher ---help--- 367ac6653aSJeff Kirsher Some ST SoCs (for example the stx7141 and stx7200c2) have two 377ac6653aSJeff Kirsher Ethernet Controllers. This option turns on the second Ethernet 387ac6653aSJeff Kirsher device on this kind of platforms. 397ac6653aSJeff Kirsher 407ac6653aSJeff Kirsherconfig STMMAC_TIMER 417ac6653aSJeff Kirsher bool "STMMAC Timer optimisation" 427ac6653aSJeff Kirsher default n 437ac6653aSJeff Kirsher depends on RTC_HCTOSYS_DEVICE 447ac6653aSJeff Kirsher ---help--- 457ac6653aSJeff Kirsher Use an external timer for mitigating the number of network 467ac6653aSJeff Kirsher interrupts. Currently, for SH architectures, it is possible 477ac6653aSJeff Kirsher to use the TMU channel 2 and the SH-RTC device. 487ac6653aSJeff Kirsher 497ac6653aSJeff Kirsherchoice 507ac6653aSJeff Kirsher prompt "Select Timer device" 517ac6653aSJeff Kirsher depends on STMMAC_TIMER 527ac6653aSJeff Kirsher 537ac6653aSJeff Kirsherconfig STMMAC_TMU_TIMER 547ac6653aSJeff Kirsher bool "TMU channel 2" 557ac6653aSJeff Kirsher depends on CPU_SH4 567ac6653aSJeff Kirsher ---help--- 577ac6653aSJeff Kirsher 587ac6653aSJeff Kirsherconfig STMMAC_RTC_TIMER 597ac6653aSJeff Kirsher bool "Real time clock" 607ac6653aSJeff Kirsher depends on RTC_CLASS 617ac6653aSJeff Kirsher ---help--- 627ac6653aSJeff Kirsher 637ac6653aSJeff Kirsherendchoice 647ac6653aSJeff Kirsher 657ac6653aSJeff Kirsherendif 66