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 147ac6653aSJeff Kirsherconfig STMMAC_DA 157ac6653aSJeff Kirsher bool "STMMAC DMA arbitration scheme" 167ac6653aSJeff Kirsher default n 177ac6653aSJeff Kirsher ---help--- 187ac6653aSJeff Kirsher Selecting this option, rx has priority over Tx (only for Giga 197ac6653aSJeff Kirsher Ethernet device). 207ac6653aSJeff Kirsher By default, the DMA arbitration scheme is based on Round-robin 217ac6653aSJeff Kirsher (rx:tx priority is 1:1). 227ac6653aSJeff Kirsher 237ac6653aSJeff Kirsherconfig STMMAC_DUAL_MAC 247ac6653aSJeff Kirsher bool "STMMAC: dual mac support (EXPERIMENTAL)" 257ac6653aSJeff Kirsher default n 267ac6653aSJeff Kirsher depends on EXPERIMENTAL && STMMAC_ETH && !STMMAC_TIMER 277ac6653aSJeff Kirsher ---help--- 287ac6653aSJeff Kirsher Some ST SoCs (for example the stx7141 and stx7200c2) have two 297ac6653aSJeff Kirsher Ethernet Controllers. This option turns on the second Ethernet 307ac6653aSJeff Kirsher device on this kind of platforms. 317ac6653aSJeff Kirsher 327ac6653aSJeff Kirsherconfig STMMAC_TIMER 337ac6653aSJeff Kirsher bool "STMMAC Timer optimisation" 347ac6653aSJeff Kirsher default n 357ac6653aSJeff Kirsher depends on RTC_HCTOSYS_DEVICE 367ac6653aSJeff Kirsher ---help--- 377ac6653aSJeff Kirsher Use an external timer for mitigating the number of network 387ac6653aSJeff Kirsher interrupts. Currently, for SH architectures, it is possible 397ac6653aSJeff Kirsher to use the TMU channel 2 and the SH-RTC device. 407ac6653aSJeff Kirsher 417ac6653aSJeff Kirsherchoice 427ac6653aSJeff Kirsher prompt "Select Timer device" 437ac6653aSJeff Kirsher depends on STMMAC_TIMER 447ac6653aSJeff Kirsher 457ac6653aSJeff Kirsherconfig STMMAC_TMU_TIMER 467ac6653aSJeff Kirsher bool "TMU channel 2" 477ac6653aSJeff Kirsher depends on CPU_SH4 487ac6653aSJeff Kirsher ---help--- 497ac6653aSJeff Kirsher 507ac6653aSJeff Kirsherconfig STMMAC_RTC_TIMER 517ac6653aSJeff Kirsher bool "Real time clock" 527ac6653aSJeff Kirsher depends on RTC_CLASS 537ac6653aSJeff Kirsher ---help--- 547ac6653aSJeff Kirsher 557ac6653aSJeff Kirsherendchoice 567ac6653aSJeff Kirsher 577ac6653aSJeff Kirsherendif 58