]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/net/Kconfig
net: sh-eth: Add to Kconfig and convert
[people/ms/u-boot.git] / drivers / net / Kconfig
CommitLineData
af2cbfd6
A
1source "drivers/net/phy/Kconfig"
2
05c3e68f
JH
3config 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.
3ea143ab
JH
12
13menuconfig NETDEVICES
14 bool "Network device support"
15 depends on NET
ef0f2f57 16 default y if DM_ETH
3ea143ab
JH
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
23if NETDEVICES
24
449ea2cd
PT
25config PHY_GIGE
26 bool "Enable GbE PHY status parsing and configuration"
27 help
28 Enables support for parsing the status output and for
29 configuring GbE PHYs (affects the inner workings of some
30 commands and miiphyutil.c).
31
e40095f6
MV
32config AG7XXX
33 bool "Atheros AG7xxx Ethernet MAC support"
34 depends on DM_ETH && ARCH_ATH79
35 select PHYLIB
36 help
37 This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
38 present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
39
40
96fa1e43
TC
41config ALTERA_TSE
42 bool "Altera Triple-Speed Ethernet MAC support"
43 depends on DM_ETH
44 select PHYLIB
45 help
46 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
47 Please find details on the "Triple-Speed Ethernet MegaCore Function
48 Resource Center" of Altera.
49
c89782dc
SV
50config BCM_SF2_ETH
51 bool "Broadcom SF2 (Starfighter2) Ethernet support"
52 select PHYLIB
53 help
54 This is an abstract framework which provides a generic interface
55 to MAC and DMA management for multiple Broadcom SoCs such as
56 Cygnus, NSP and bcm28155_ap platforms.
57
58config BCM_SF2_ETH_DEFAULT_PORT
59 int "Broadcom SF2 (Starfighter2) Ethernet default port number"
60 depends on BCM_SF2_ETH
61 default 0
62 help
63 Default port number for the Starfighter2 ethernet driver.
64
65config BCM_SF2_ETH_GMAC
66 bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
67 depends on BCM_SF2_ETH
68 help
69 This flag enables the ethernet support for Broadcom platforms with
70 GMAC such as Cygnus. This driver is based on the framework provided
71 by the BCM_SF2_ETH driver.
72 Say Y to any bcmcygnus based platforms.
73
ba4dfef1
SW
74config DWC_ETH_QOS
75 bool "Synopsys DWC Ethernet QOS device support"
76 depends on DM_ETH
77 select PHYLIB
78 help
79 This driver supports the Synopsys Designware Ethernet QOS (Quality
80 Of Service) IP block. The IP supports many options for bus type,
81 clocking/reset structure, and feature list. This driver currently
82 supports the specific configuration used in NVIDIA's Tegra186 chip,
83 but should be extensible to other combinations quite easily.
84
c294ac5c
SG
85config E1000
86 bool "Intel PRO/1000 Gigabit Ethernet support"
87 help
88 This driver supports Intel(R) PRO/1000 gigabit ethernet family of
89 adapters. For more information on how to identify your adapter, go
90 to the Adapter & Driver ID Guide at:
91
92 <http://support.intel.com/support/network/adapter/pro100/21397.htm>
93
94config E1000_SPI_GENERIC
95 bool "Allow access to the Intel 8257x SPI bus"
96 depends on E1000
97 help
98 Allow generic access to the SPI bus on the Intel 8257x, for
99 example with the "sspi" command.
100
101config E1000_SPI
102 bool "Enable SPI bus utility code"
103 depends on E1000
104 help
105 Utility code for direct access to the SPI bus on Intel 8257x.
106 This does not do anything useful unless you set at least one
107 of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
108
109config CMD_E1000
110 bool "Enable the e1000 command"
111 depends on E1000
112 help
113 This enables the 'e1000' management command for E1000 devices. When
114 used on devices with SPI support you can reprogram the EEPROM from
115 U-Boot.
116
3ea143ab
JH
117config ETH_SANDBOX
118 depends on DM_ETH && SANDBOX
119 default y
120 bool "Sandbox: Mocked Ethernet driver"
121 help
122 This driver simply responds with fake ARP replies and ping
123 replies that are used to verify network stack functionality
124
125 This driver is particularly useful in the test/dm/eth.c tests
126
a346ca79
JH
127config ETH_SANDBOX_RAW
128 depends on DM_ETH && SANDBOX
129 default y
130 bool "Sandbox: Bridge to Linux Raw Sockets"
131 help
132 This driver is a bridge from the bottom of the network stack
133 in U-Boot to the RAW AF_PACKET API in Linux. This allows real
134 network traffic to be tested from within sandbox. See
135 board/sandbox/README.sandbox for more details.
136
ef48f6dd
SG
137config ETH_DESIGNWARE
138 bool "Synopsys Designware Ethernet MAC"
25af71c4 139 select PHYLIB
ef48f6dd
SG
140 help
141 This MAC is present in SoCs from various vendors. It supports
142 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
143 provide the PHY (physical media interface).
144
f0727120
MF
145config ETHOC
146 bool "OpenCores 10/100 Mbps Ethernet MAC"
147 help
148 This MAC is present in OpenRISC and Xtensa XTFPGA boards.
149
97d29ca3
JT
150config FEC_MXC
151 bool "FEC Ethernet controller"
98d62e61 152 depends on MX5 || MX6
97d29ca3
JT
153 help
154 This driver supports the 10/100 Fast Ethernet controller for
155 NXP i.MX processors.
156
8dc1b17f
TR
157config FTMAC100
158 bool "Ftmac100 Ethernet Support"
159 help
160 This MAC is present in Andestech SoCs.
161
7654f62f 162config MVNETA
e7ab2ccd
MR
163 bool "Marvell Armada XP/385/3700 network interface support"
164 depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
7654f62f
CP
165 select PHYLIB
166 help
167 This driver supports the network interface units in the
e7ab2ccd 168 Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
7654f62f 169
99d4c6d3 170config MVPP2
e7935c47
SR
171 bool "Marvell Armada 375/7K/8K network interface support"
172 depends on ARMADA_375 || ARMADA_8K
99d4c6d3
SR
173 select PHYLIB
174 help
175 This driver supports the network interface units in the
e7935c47 176 Marvell ARMADA 375, 7K and 8K SoCs.
99d4c6d3 177
ebcb40a5
WY
178config MACB
179 bool "Cadence MACB/GEM Ethernet Interface"
180 depends on DM_ETH
181 select PHYLIB
182 help
183 The Cadence MACB ethernet interface is found on many Atmel
184 AT91 and SAMA5 parts. This driver also supports the Cadence
185 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
186 Say Y to include support for the MACB/GEM chip.
187
4bf56913
WL
188config MACB_ZYNQ
189 bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
190 depends on MACB
191 help
192 The Cadence MACB ethernet interface was used on Zynq platform.
193 Say Y to enable support for the MACB/GEM in Zynq chip.
194
b68fe152
BM
195config PCH_GBE
196 bool "Intel Platform Controller Hub EG20T GMAC driver"
197 depends on DM_ETH && DM_PCI
198 select PHYLIB
199 help
200 This MAC is present in Intel Platform Controller Hub EG20T. It
201 supports 10/100/1000 Mbps operation.
202
751b0be0
MJ
203config RGMII
204 bool "Enable RGMII"
205 help
206 Enable the support of the Reduced Gigabit Media-Independent
207 Interface (RGMII).
208
86e9dc86
BM
209config RTL8139
210 bool "Realtek 8139 series Ethernet controller driver"
211 help
212 This driver supports Realtek 8139 series fast ethernet family of
213 PCI chipsets/adapters.
214
0764f24a
BM
215config RTL8169
216 bool "Realtek 8169 series Ethernet controller driver"
217 help
218 This driver supports Realtek 8169 series gigabit ethernet family of
219 PCI/PCIe chipsets/adapters.
220
8daec2d9
AF
221config SMC911X
222 bool "SMSC LAN911x and LAN921x controller driver"
223
224if SMC911X
225
226config SMC911X_BASE
227 hex "SMC911X Base Address"
228 help
229 Define this to hold the physical address
230 of the device (I/O space)
231
232choice
233 prompt "SMC911X bus width"
234 default SMC911X_16_BIT
235
236config SMC911X_32_BIT
237 bool "Enable 32-bit interface"
238
239config SMC911X_16_BIT
240 bool "Enable 16-bit interface"
241 help
242 Define this if data bus is 16 bits. If your processor
243 automatically converts one 32 bit word to two 16 bit
244 words you may also try CONFIG_SMC911X_32_BIT.
245
246endchoice
247endif #SMC911X
248
4d43d065
MJ
249config SUN7I_GMAC
250 bool "Enable Allwinner GMAC Ethernet support"
251 help
252 Enable the support for Sun7i GMAC Ethernet controller
253
aba39249
SM
254config SUN7I_GMAC_FORCE_TXERR
255 bool "Force PA17 as gmac function"
256 depends on SUN7I_GMAC
257 help
258 Some ethernet phys needs TXERR control. Since the GMAC
259 doesn't have such signal, setting PA17 as GMAC function
260 makes the pin output low, which enables data transmission.
261
abc3e4df
MJ
262config SUN4I_EMAC
263 bool "Allwinner Sun4i Ethernet MAC support"
264 depends on DM_ETH
6270a3f0 265 select PHYLIB
abc3e4df
MJ
266 help
267 This driver supports the Allwinner based SUN4I Ethernet MAC.
268
a29710c5
AST
269config SUN8I_EMAC
270 bool "Allwinner Sun8i Ethernet MAC support"
271 depends on DM_ETH
272 select PHYLIB
449ea2cd 273 select PHY_GIGE
a29710c5
AST
274 help
275 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
276 It can be found in H3/A64/A83T based SoCs and compatible with both
7131d2d0 277 External and Internal PHYs.
a29710c5 278
dcd18eaf
NI
279config SH_ETHER
280 bool "Renesas SH Ethernet MAC"
281 select PHYLIB
282 help
283 This driver supports the Ethernet for Renesas SH and ARM SoCs.
284
338a5f2b
MS
285config XILINX_AXIEMAC
286 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
287 select PHYLIB
288 select MII
289 bool "Xilinx AXI Ethernet"
290 help
291 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
292
3229c869 293config XILINX_EMACLITE
2f1f05f4 294 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
3229c869
MS
295 select PHYLIB
296 select MII
297 bool "Xilinx Ethernetlite"
298 help
299 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
300
596e5782
MS
301config ZYNQ_GEM
302 depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
7bccc75a 303 select PHYLIB
596e5782
MS
304 bool "Xilinx Ethernet GEM"
305 help
c9428107 306 This MAC is present in Xilinx Zynq and ZynqMP SoCs.
596e5782 307
23e7578c
PCM
308config PIC32_ETH
309 bool "Microchip PIC32 Ethernet Support"
310 depends on DM_ETH && MACH_PIC32
311 select PHYLIB
312 help
313 This driver implements 10/100 Mbps Ethernet and MAC layer for
314 Microchip PIC32 microcontrollers.
315
0125bcf0
SS
316config GMAC_ROCKCHIP
317 bool "Rockchip Synopsys Designware Ethernet MAC"
318 depends on DM_ETH && ETH_DESIGNWARE
319 help
320 This driver provides Rockchip SoCs network support based on the
321 Synopsys Designware driver.
322
8ae51b6f
MV
323config RENESAS_RAVB
324 bool "Renesas Ethernet AVB MAC"
325 depends on DM_ETH && RCAR_GEN3
326 select PHYLIB
327 help
328 This driver implements support for the Ethernet AVB block in
329 Renesas M3 and H3 SoCs.
330
fad51ac3
CL
331config MPC8XX_FEC
332 bool "Fast Ethernet Controller on MPC8XX"
333 depends on 8xx
334 select MII
335 help
336 This driver implements support for the Fast Ethernet Controller
337 on MPC8XX
338
339config ETHER_ON_FEC1
340 bool "FEC1"
341 depends on MPC8XX_FEC
342 default y
343
344config FEC1_PHY
345 int "FEC1 PHY"
346 depends on ETHER_ON_FEC1
347 default -1
348 help
349 Define to the hardcoded PHY address which corresponds
350 to the given FEC; i. e.
351 #define CONFIG_FEC1_PHY 4
352 means that the PHY with address 4 is connected to FEC1
353
354 When set to -1, means to probe for first available.
355
356config PHY_NORXERR
357 bool "PHY_NORXERR"
358 depends on ETHER_ON_FEC1
359 default n
360 help
361 The PHY does not have a RXERR line (RMII only).
362 (so program the FEC to ignore it).
363
364config ETHER_ON_FEC2
365 bool "FEC2"
366 depends on MPC8XX_FEC && MPC885
367 default y
368
369config FEC2_PHY
370 int "FEC2 PHY"
371 depends on ETHER_ON_FEC2
372 default -1
373 help
374 Define to the hardcoded PHY address which corresponds
375 to the given FEC; i. e.
376 #define CONFIG_FEC1_PHY 4
377 means that the PHY with address 4 is connected to FEC1
378
379 When set to -1, means to probe for first available.
380
381config FEC2_PHY_NORXERR
382 bool "PHY_NORXERR"
383 depends on ETHER_ON_FEC2
384 default n
385 help
386 The PHY does not have a RXERR line (RMII only).
387 (so program the FEC to ignore it).
388
541d5766
AM
389config SYS_DPAA_QBMAN
390 bool "Device tree fixup for QBMan on freescale SOCs"
391 depends on (ARM || PPC) && !SPL_BUILD
392 default y if ARCH_B4860 || \
393 ARCH_B4420 || \
394 ARCH_P1023 || \
395 ARCH_P2041 || \
396 ARCH_T1023 || \
397 ARCH_T1024 || \
398 ARCH_T1040 || \
399 ARCH_T1042 || \
400 ARCH_T2080 || \
401 ARCH_T2081 || \
402 ARCH_T4240 || \
403 ARCH_T4160 || \
404 ARCH_P4080 || \
405 ARCH_P3041 || \
406 ARCH_P5040 || \
407 ARCH_P5020 || \
408 ARCH_LS1043A || \
409 ARCH_LS1046A
410 help
411 QBman fixups to allow deep sleep in DPAA 1 SOCs
412
3ea143ab 413endif # NETDEVICES