xref: /openbmc/u-boot/drivers/net/Kconfig (revision ad5b5801)
1config DM_ETH
2	bool "Enable Driver Model for Ethernet drivers"
3	depends on DM
4	help
5	  Enable driver model for Ethernet.
6
7	  The eth_*() interface will be implemented by the UC_ETH class
8	  This is currently implemented in net/eth.c
9	  Look in include/net.h for details.
10
11config PHYLIB
12	bool "Ethernet PHY (physical media interface) support"
13	help
14	  Enable Ethernet PHY (physical media interface) support.
15
16config RTL8211X_PHY_FORCE_MASTER
17	bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode"
18	depends on PHYLIB
19	help
20	  Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F).
21	  This can work around link stability and data corruption issues on gigabit
22	  links which can occur in slave mode on certain PHYs, e.g. on the
23	  RTL8211C(L).
24
25	  Please note that two directly connected devices (i.e. via crossover cable)
26	  will not be able to establish a link between each other if they both force
27	  master mode. Multiple devices forcing master mode when connected by a
28	  network switch do not pose a problem as the switch configures its affected
29	  ports into slave mode.
30
31	  This option only affects gigabit links. If you must establish a direct
32	  connection between two devices which both force master mode, try forcing
33	  the link speed to 100MBit/s.
34
35	  If unsure, say N.
36
37menuconfig NETDEVICES
38	bool "Network device support"
39	depends on NET
40	default y if DM_ETH
41	help
42	  You must select Y to enable any network device support
43	  Generally if you have any networking support this is a given
44
45	  If unsure, say Y
46
47if NETDEVICES
48
49config ALTERA_TSE
50	bool "Altera Triple-Speed Ethernet MAC support"
51	depends on DM_ETH
52	select PHYLIB
53	help
54	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
55	  Please find details on the "Triple-Speed Ethernet MegaCore Function
56	  Resource Center" of Altera.
57
58config E1000
59	bool "Intel PRO/1000 Gigabit Ethernet support"
60	help
61	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
62	  adapters.  For more information on how to identify your adapter, go
63	  to the Adapter & Driver ID Guide at:
64
65	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
66
67config E1000_SPI_GENERIC
68	bool "Allow access to the Intel 8257x SPI bus"
69	depends on E1000
70	help
71	  Allow generic access to the SPI bus on the Intel 8257x, for
72	  example with the "sspi" command.
73
74config E1000_SPI
75	bool "Enable SPI bus utility code"
76	depends on E1000
77	help
78	  Utility code for direct access to the SPI bus on Intel 8257x.
79	  This does not do anything useful unless you set at least one
80	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
81
82config CMD_E1000
83	bool "Enable the e1000 command"
84	depends on E1000
85	help
86	  This enables the 'e1000' management command for E1000 devices. When
87	  used on devices with SPI support you can reprogram the EEPROM from
88	  U-Boot.
89
90config ETH_SANDBOX
91	depends on DM_ETH && SANDBOX
92	default y
93	bool "Sandbox: Mocked Ethernet driver"
94	help
95	  This driver simply responds with fake ARP replies and ping
96	  replies that are used to verify network stack functionality
97
98	  This driver is particularly useful in the test/dm/eth.c tests
99
100config ETH_SANDBOX_RAW
101	depends on DM_ETH && SANDBOX
102	default y
103	bool "Sandbox: Bridge to Linux Raw Sockets"
104	help
105	  This driver is a bridge from the bottom of the network stack
106	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
107	  network traffic to be tested from within sandbox. See
108	  board/sandbox/README.sandbox for more details.
109
110config ETH_DESIGNWARE
111	bool "Synopsys Designware Ethernet MAC"
112	select PHYLIB
113	help
114	  This MAC is present in SoCs from various vendors. It supports
115	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
116	  provide the PHY (physical media interface).
117
118config MVPP2
119	bool "Marvell Armada 375 network interface support"
120	depends on ARMADA_375
121	select PHYLIB
122	help
123	  This driver supports the network interface units in the
124	  Marvell ARMADA 375 SoC.
125
126config PCH_GBE
127	bool "Intel Platform Controller Hub EG20T GMAC driver"
128	depends on DM_ETH && DM_PCI
129	select PHYLIB
130	help
131	  This MAC is present in Intel Platform Controller Hub EG20T. It
132	  supports 10/100/1000 Mbps operation.
133
134config RTL8139
135	bool "Realtek 8139 series Ethernet controller driver"
136	help
137	  This driver supports Realtek 8139 series fast ethernet family of
138	  PCI chipsets/adapters.
139
140config RTL8169
141	bool "Realtek 8169 series Ethernet controller driver"
142	help
143	  This driver supports Realtek 8169 series gigabit ethernet family of
144	  PCI/PCIe chipsets/adapters.
145
146config XILINX_AXIEMAC
147	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
148	select PHYLIB
149	select MII
150	bool "Xilinx AXI Ethernet"
151	help
152	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
153
154config XILINX_EMACLITE
155	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
156	select PHYLIB
157	select MII
158	bool "Xilinx Ethernetlite"
159	help
160	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
161
162config ZYNQ_GEM
163	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
164	select PHYLIB
165	bool "Xilinx Ethernet GEM"
166	help
167	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
168
169config PIC32_ETH
170	bool "Microchip PIC32 Ethernet Support"
171	depends on DM_ETH && MACH_PIC32
172	select PHYLIB
173	help
174	  This driver implements 10/100 Mbps Ethernet and MAC layer for
175	  Microchip PIC32 microcontrollers.
176
177endif # NETDEVICES
178