Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 1 | config STMMAC_ETH |
| 2 | tristate "STMicroelectronics 10/100/1000 Ethernet driver" |
Geert Uytterhoeven | fd1eb9e | 2013-05-09 11:04:46 +0000 | [diff] [blame] | 3 | depends on HAS_IOMEM && HAS_DMA |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 4 | select MII |
| 5 | select PHYLIB |
Carmelo AMOROSO | 7ba8a9b | 2010-03-31 21:44:03 +0000 | [diff] [blame] | 6 | select CRC32 |
Rayagond Kokatanur | 92ba688 | 2013-03-26 04:43:11 +0000 | [diff] [blame] | 7 | select PTP_1588_CLOCK |
Chen-Yu Tsai | c5e4ddb | 2014-01-17 21:24:41 +0800 | [diff] [blame] | 8 | select RESET_CONTROLLER |
Jeff Kirsher | 7ac6653 | 2011-05-16 00:05:19 -0700 | [diff] [blame] | 9 | ---help--- |
Giuseppe CAVALLARO | 7187c1a | 2010-01-06 23:07:22 +0000 | [diff] [blame] | 10 | This is the driver for the Ethernet IPs are built around a |
Giuseppe CAVALLARO | ac75791 | 2010-08-23 20:40:41 +0000 | [diff] [blame] | 11 | Synopsys IP Core and only tested on the STMicroelectronics |
Giuseppe CAVALLARO | 7187c1a | 2010-01-06 23:07:22 +0000 | [diff] [blame] | 12 | platforms. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 13 | |
| 14 | if STMMAC_ETH |
| 15 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 16 | config STMMAC_PLATFORM |
Giuseppe CAVALLARO | ba27ec6 | 2012-06-04 19:22:57 +0000 | [diff] [blame] | 17 | bool "STMMAC Platform bus support" |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 18 | depends on STMMAC_ETH |
Giuseppe CAVALLARO | 33d5e33 | 2012-06-07 19:25:07 +0000 | [diff] [blame] | 19 | default y |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 20 | ---help--- |
| 21 | This selects the platform specific bus support for |
| 22 | the stmmac device driver. This is the driver used |
| 23 | on many embedded STM platforms based on ARM and SuperH |
| 24 | processors. |
| 25 | If you have a controller with this interface, say Y or M here. |
| 26 | |
| 27 | If unsure, say N. |
| 28 | |
Chen-Yu Tsai | af0bd4e | 2014-01-17 21:24:47 +0800 | [diff] [blame] | 29 | config DWMAC_SUNXI |
| 30 | bool "Allwinner GMAC support" |
| 31 | depends on STMMAC_PLATFORM && ARCH_SUNXI |
| 32 | default y |
| 33 | ---help--- |
| 34 | Support for Allwinner A20/A31 GMAC ethernet controllers. |
| 35 | |
| 36 | This selects Allwinner SoC glue layer support for the |
| 37 | stmmac device driver. This driver is used for A20/A31 |
| 38 | GMAC ethernet controller. |
| 39 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 40 | config STMMAC_PCI |
Kees Cook | 6e1215a | 2013-01-22 10:30:30 -0800 | [diff] [blame] | 41 | bool "STMMAC PCI bus support" |
| 42 | depends on STMMAC_ETH && PCI |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 43 | ---help--- |
| 44 | This is to select the Synopsys DWMAC available on PCI devices, |
| 45 | if you have a controller with this interface, say Y or M here. |
| 46 | |
| 47 | This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 |
| 48 | D1215994A VIRTEX FPGA board. |
| 49 | |
| 50 | If unsure, say N. |
| 51 | |
Giuseppe CAVALLARO | 7ac2905 | 2011-09-01 21:51:39 +0000 | [diff] [blame] | 52 | config STMMAC_DEBUG_FS |
| 53 | bool "Enable monitoring via sysFS " |
| 54 | default n |
| 55 | depends on STMMAC_ETH && DEBUG_FS |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 56 | ---help--- |
Giuseppe CAVALLARO | e743482 | 2011-09-01 21:51:41 +0000 | [diff] [blame] | 57 | The stmmac entry in /sys reports DMA TX/RX rings |
| 58 | or (if supported) the HW cap register. |
Giuseppe CAVALLARO | 7ac2905 | 2011-09-01 21:51:39 +0000 | [diff] [blame] | 59 | |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 60 | config STMMAC_DA |
| 61 | bool "STMMAC DMA arbitration scheme" |
| 62 | default n |
Jeff Kirsher | 7ac6653 | 2011-05-16 00:05:19 -0700 | [diff] [blame] | 63 | ---help--- |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 64 | Selecting this option, rx has priority over Tx (only for Giga |
| 65 | Ethernet device). |
| 66 | By default, the DMA arbitration scheme is based on Round-robin |
| 67 | (rx:tx priority is 1:1). |
| 68 | |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 69 | endif |