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 | |
Srinivas Kandagatla | d15891c | 2014-02-11 09:59:57 +0000 | [diff] [blame] | 40 | config DWMAC_STI |
| 41 | bool "STi GMAC support" |
| 42 | depends on STMMAC_PLATFORM && ARCH_STI |
| 43 | default y |
| 44 | ---help--- |
| 45 | Support for ethernet controller on STi SOCs. |
| 46 | |
| 47 | This selects STi SoC glue layer support for the stmmac |
| 48 | device driver. This driver is used on for the STi series |
| 49 | SOCs GMAC ethernet controller. |
| 50 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 51 | config STMMAC_PCI |
Kees Cook | 6e1215a | 2013-01-22 10:30:30 -0800 | [diff] [blame] | 52 | bool "STMMAC PCI bus support" |
| 53 | depends on STMMAC_ETH && PCI |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 54 | ---help--- |
| 55 | This is to select the Synopsys DWMAC available on PCI devices, |
| 56 | if you have a controller with this interface, say Y or M here. |
| 57 | |
| 58 | This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 |
| 59 | D1215994A VIRTEX FPGA board. |
| 60 | |
| 61 | If unsure, say N. |
| 62 | |
Giuseppe CAVALLARO | 7ac2905 | 2011-09-01 21:51:39 +0000 | [diff] [blame] | 63 | config STMMAC_DEBUG_FS |
| 64 | bool "Enable monitoring via sysFS " |
| 65 | default n |
| 66 | depends on STMMAC_ETH && DEBUG_FS |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 67 | ---help--- |
Giuseppe CAVALLARO | e743482 | 2011-09-01 21:51:41 +0000 | [diff] [blame] | 68 | The stmmac entry in /sys reports DMA TX/RX rings |
| 69 | or (if supported) the HW cap register. |
Giuseppe CAVALLARO | 7ac2905 | 2011-09-01 21:51:39 +0000 | [diff] [blame] | 70 | |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 71 | config STMMAC_DA |
| 72 | bool "STMMAC DMA arbitration scheme" |
| 73 | default n |
Jeff Kirsher | 7ac6653 | 2011-05-16 00:05:19 -0700 | [diff] [blame] | 74 | ---help--- |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 75 | Selecting this option, rx has priority over Tx (only for Giga |
| 76 | Ethernet device). |
| 77 | By default, the DMA arbitration scheme is based on Round-robin |
| 78 | (rx:tx priority is 1:1). |
| 79 | |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 80 | endif |