17ac6653aSJeff Kirsherconfig STMMAC_ETH 27ac6653aSJeff Kirsher tristate "STMicroelectronics 10/100/1000 Ethernet driver" 3fd1eb9e6SGeert Uytterhoeven depends on HAS_IOMEM && HAS_DMA 47ac6653aSJeff Kirsher select MII 57ac6653aSJeff Kirsher select PHYLIB 67ac6653aSJeff Kirsher select CRC32 792ba6888SRayagond Kokatanur select PTP_1588_CLOCK 8c5e4ddbdSChen-Yu Tsai select RESET_CONTROLLER 97ac6653aSJeff Kirsher ---help--- 107ac6653aSJeff Kirsher This is the driver for the Ethernet IPs are built around a 117ac6653aSJeff Kirsher Synopsys IP Core and only tested on the STMicroelectronics 127ac6653aSJeff Kirsher platforms. 137ac6653aSJeff Kirsher 147ac6653aSJeff Kirsherif STMMAC_ETH 157ac6653aSJeff Kirsher 16bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PLATFORM 17ba27ec66SGiuseppe CAVALLARO bool "STMMAC Platform bus support" 18bfab27a1SGiuseppe CAVALLARO depends on STMMAC_ETH 1933d5e332SGiuseppe CAVALLARO default y 20bfab27a1SGiuseppe CAVALLARO ---help--- 21c0d54066SGiuseppe CAVALLARO This selects the platform specific bus support for the stmmac driver. 22c0d54066SGiuseppe CAVALLARO This is the driver used on several SoCs: 23c0d54066SGiuseppe CAVALLARO STi, Allwinner, Amlogic Meson, Altera SOCFPGA. 24c0d54066SGiuseppe CAVALLARO 25bfab27a1SGiuseppe CAVALLARO If you have a controller with this interface, say Y or M here. 26bfab27a1SGiuseppe CAVALLARO 27bfab27a1SGiuseppe CAVALLARO If unsure, say N. 28bfab27a1SGiuseppe CAVALLARO 29bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PCI 306e1215adSKees Cook bool "STMMAC PCI bus support" 316e1215adSKees Cook depends on STMMAC_ETH && PCI 32bfab27a1SGiuseppe CAVALLARO ---help--- 33bfab27a1SGiuseppe CAVALLARO This is to select the Synopsys DWMAC available on PCI devices, 34bfab27a1SGiuseppe CAVALLARO if you have a controller with this interface, say Y or M here. 35bfab27a1SGiuseppe CAVALLARO 36bfab27a1SGiuseppe CAVALLARO This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 37bfab27a1SGiuseppe CAVALLARO D1215994A VIRTEX FPGA board. 38bfab27a1SGiuseppe CAVALLARO 39bfab27a1SGiuseppe CAVALLARO If unsure, say N. 40bfab27a1SGiuseppe CAVALLARO 417ac29055SGiuseppe CAVALLAROconfig STMMAC_DEBUG_FS 427ac29055SGiuseppe CAVALLARO bool "Enable monitoring via sysFS " 437ac29055SGiuseppe CAVALLARO default n 447ac29055SGiuseppe CAVALLARO depends on STMMAC_ETH && DEBUG_FS 45bfab27a1SGiuseppe CAVALLARO ---help--- 46e7434821SGiuseppe CAVALLARO The stmmac entry in /sys reports DMA TX/RX rings 47e7434821SGiuseppe CAVALLARO or (if supported) the HW cap register. 487ac29055SGiuseppe CAVALLARO 497ac6653aSJeff Kirsherconfig STMMAC_DA 507ac6653aSJeff Kirsher bool "STMMAC DMA arbitration scheme" 517ac6653aSJeff Kirsher default n 527ac6653aSJeff Kirsher ---help--- 537ac6653aSJeff Kirsher Selecting this option, rx has priority over Tx (only for Giga 547ac6653aSJeff Kirsher Ethernet device). 557ac6653aSJeff Kirsher By default, the DMA arbitration scheme is based on Round-robin 567ac6653aSJeff Kirsher (rx:tx priority is 1:1). 577ac6653aSJeff Kirsher 587ac6653aSJeff Kirsherendif 59