Merge tag 'xilinx-for-v2017.05' of git://www.denx.de/git/u-boot-microblaze
[platform/kernel/u-boot.git] / drivers / net / Kconfig
1 source "drivers/net/phy/Kconfig"
2
3 config DM_ETH
4         bool "Enable Driver Model for Ethernet drivers"
5         depends on DM
6         help
7           Enable driver model for Ethernet.
8
9           The eth_*() interface will be implemented by the UC_ETH class
10           This is currently implemented in net/eth.c
11           Look in include/net.h for details.
12
13 menuconfig NETDEVICES
14         bool "Network device support"
15         depends on NET
16         default y if DM_ETH
17         help
18           You must select Y to enable any network device support
19           Generally if you have any networking support this is a given
20
21           If unsure, say Y
22
23 if NETDEVICES
24
25 config AG7XXX
26         bool "Atheros AG7xxx Ethernet MAC support"
27         depends on DM_ETH && ARCH_ATH79
28         select PHYLIB
29         help
30           This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
31           present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
32
33
34 config ALTERA_TSE
35         bool "Altera Triple-Speed Ethernet MAC support"
36         depends on DM_ETH
37         select PHYLIB
38         help
39           This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
40           Please find details on the "Triple-Speed Ethernet MegaCore Function
41           Resource Center" of Altera.
42
43 config DWC_ETH_QOS
44         bool "Synopsys DWC Ethernet QOS device support"
45         depends on DM_ETH
46         select PHYLIB
47         help
48           This driver supports the Synopsys Designware Ethernet QOS (Quality
49           Of Service) IP block. The IP supports many options for bus type,
50           clocking/reset structure, and feature list. This driver currently
51           supports the specific configuration used in NVIDIA's Tegra186 chip,
52           but should be extensible to other combinations quite easily.
53
54 config E1000
55         bool "Intel PRO/1000 Gigabit Ethernet support"
56         help
57           This driver supports Intel(R) PRO/1000 gigabit ethernet family of
58           adapters.  For more information on how to identify your adapter, go
59           to the Adapter & Driver ID Guide at:
60
61           <http://support.intel.com/support/network/adapter/pro100/21397.htm>
62
63 config E1000_SPI_GENERIC
64         bool "Allow access to the Intel 8257x SPI bus"
65         depends on E1000
66         help
67           Allow generic access to the SPI bus on the Intel 8257x, for
68           example with the "sspi" command.
69
70 config E1000_SPI
71         bool "Enable SPI bus utility code"
72         depends on E1000
73         help
74           Utility code for direct access to the SPI bus on Intel 8257x.
75           This does not do anything useful unless you set at least one
76           of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
77
78 config CMD_E1000
79         bool "Enable the e1000 command"
80         depends on E1000
81         help
82           This enables the 'e1000' management command for E1000 devices. When
83           used on devices with SPI support you can reprogram the EEPROM from
84           U-Boot.
85
86 config ETH_SANDBOX
87         depends on DM_ETH && SANDBOX
88         default y
89         bool "Sandbox: Mocked Ethernet driver"
90         help
91           This driver simply responds with fake ARP replies and ping
92           replies that are used to verify network stack functionality
93
94           This driver is particularly useful in the test/dm/eth.c tests
95
96 config ETH_SANDBOX_RAW
97         depends on DM_ETH && SANDBOX
98         default y
99         bool "Sandbox: Bridge to Linux Raw Sockets"
100         help
101           This driver is a bridge from the bottom of the network stack
102           in U-Boot to the RAW AF_PACKET API in Linux. This allows real
103           network traffic to be tested from within sandbox. See
104           board/sandbox/README.sandbox for more details.
105
106 config ETH_DESIGNWARE
107         bool "Synopsys Designware Ethernet MAC"
108         select PHYLIB
109         help
110           This MAC is present in SoCs from various vendors. It supports
111           100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
112           provide the PHY (physical media interface).
113
114 config ETHOC
115         bool "OpenCores 10/100 Mbps Ethernet MAC"
116         help
117           This MAC is present in OpenRISC and Xtensa XTFPGA boards.
118
119 config FEC_MXC
120         bool "FEC Ethernet controller"
121         depends on MX5 || MX6
122         help
123           This driver supports the 10/100 Fast Ethernet controller for
124           NXP i.MX processors.
125
126 config MVPP2
127         bool "Marvell Armada 375 network interface support"
128         depends on ARMADA_375
129         select PHYLIB
130         help
131           This driver supports the network interface units in the
132           Marvell ARMADA 375 SoC.
133
134 config MACB
135         bool "Cadence MACB/GEM Ethernet Interface"
136         depends on DM_ETH
137         select PHYLIB
138         help
139           The Cadence MACB ethernet interface is found on many Atmel
140           AT91 and SAMA5 parts.  This driver also supports the Cadence
141           GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
142           Say Y to include support for the MACB/GEM chip.
143
144 config PCH_GBE
145         bool "Intel Platform Controller Hub EG20T GMAC driver"
146         depends on DM_ETH && DM_PCI
147         select PHYLIB
148         help
149           This MAC is present in Intel Platform Controller Hub EG20T. It
150           supports 10/100/1000 Mbps operation.
151
152 config RTL8139
153         bool "Realtek 8139 series Ethernet controller driver"
154         help
155           This driver supports Realtek 8139 series fast ethernet family of
156           PCI chipsets/adapters.
157
158 config RTL8169
159         bool "Realtek 8169 series Ethernet controller driver"
160         help
161           This driver supports Realtek 8169 series gigabit ethernet family of
162           PCI/PCIe chipsets/adapters.
163
164 config SUN8I_EMAC
165         bool "Allwinner Sun8i Ethernet MAC support"
166         depends on DM_ETH
167         select PHYLIB
168         help
169           This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
170           It can be found in H3/A64/A83T based SoCs and compatible with both
171           External and Internal PHYs.
172
173 config XILINX_AXIEMAC
174         depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
175         select PHYLIB
176         select MII
177         bool "Xilinx AXI Ethernet"
178         help
179           This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
180
181 config XILINX_EMACLITE
182         depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
183         select PHYLIB
184         select MII
185         bool "Xilinx Ethernetlite"
186         help
187           This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
188
189 config ZYNQ_GEM
190         depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
191         select PHYLIB
192         bool "Xilinx Ethernet GEM"
193         help
194           This MAC is present in Xilinx Zynq and ZynqMP SoCs.
195
196 config PIC32_ETH
197         bool "Microchip PIC32 Ethernet Support"
198         depends on DM_ETH && MACH_PIC32
199         select PHYLIB
200         help
201           This driver implements 10/100 Mbps Ethernet and MAC layer for
202           Microchip PIC32 microcontrollers.
203
204 config GMAC_ROCKCHIP
205         bool "Rockchip Synopsys Designware Ethernet MAC"
206         depends on DM_ETH && ETH_DESIGNWARE
207         help
208           This driver provides Rockchip SoCs network support based on the
209           Synopsys Designware driver.
210
211 endif # NETDEVICES