xref: /openbmc/u-boot/drivers/net/Kconfig (revision 40d5534c)
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 AG7XXX
50	bool "Atheros AG7xxx Ethernet MAC support"
51	depends on DM_ETH && ARCH_ATH79
52	select PHYLIB
53	help
54	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
55	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
56
57
58config ALTERA_TSE
59	bool "Altera Triple-Speed Ethernet MAC support"
60	depends on DM_ETH
61	select PHYLIB
62	help
63	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
64	  Please find details on the "Triple-Speed Ethernet MegaCore Function
65	  Resource Center" of Altera.
66
67config DWC_ETH_QOS
68	bool "Synopsys DWC Ethernet QOS device support"
69	depends on DM_ETH
70	select PHYLIB
71	help
72	  This driver supports the Synopsys Designware Ethernet QOS (Quality
73	  Of Service) IP block. The IP supports many options for bus type,
74	  clocking/reset structure, and feature list. This driver currently
75	  supports the specific configuration used in NVIDIA's Tegra186 chip,
76	  but should be extensible to other combinations quite easily.
77
78config E1000
79	bool "Intel PRO/1000 Gigabit Ethernet support"
80	help
81	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
82	  adapters.  For more information on how to identify your adapter, go
83	  to the Adapter & Driver ID Guide at:
84
85	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
86
87config E1000_SPI_GENERIC
88	bool "Allow access to the Intel 8257x SPI bus"
89	depends on E1000
90	help
91	  Allow generic access to the SPI bus on the Intel 8257x, for
92	  example with the "sspi" command.
93
94config E1000_SPI
95	bool "Enable SPI bus utility code"
96	depends on E1000
97	help
98	  Utility code for direct access to the SPI bus on Intel 8257x.
99	  This does not do anything useful unless you set at least one
100	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
101
102config CMD_E1000
103	bool "Enable the e1000 command"
104	depends on E1000
105	help
106	  This enables the 'e1000' management command for E1000 devices. When
107	  used on devices with SPI support you can reprogram the EEPROM from
108	  U-Boot.
109
110config ETH_SANDBOX
111	depends on DM_ETH && SANDBOX
112	default y
113	bool "Sandbox: Mocked Ethernet driver"
114	help
115	  This driver simply responds with fake ARP replies and ping
116	  replies that are used to verify network stack functionality
117
118	  This driver is particularly useful in the test/dm/eth.c tests
119
120config ETH_SANDBOX_RAW
121	depends on DM_ETH && SANDBOX
122	default y
123	bool "Sandbox: Bridge to Linux Raw Sockets"
124	help
125	  This driver is a bridge from the bottom of the network stack
126	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
127	  network traffic to be tested from within sandbox. See
128	  board/sandbox/README.sandbox for more details.
129
130config ETH_DESIGNWARE
131	bool "Synopsys Designware Ethernet MAC"
132	select PHYLIB
133	help
134	  This MAC is present in SoCs from various vendors. It supports
135	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
136	  provide the PHY (physical media interface).
137
138config ETHOC
139	bool "OpenCores 10/100 Mbps Ethernet MAC"
140	help
141	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
142
143config FEC_MXC
144	bool "FEC Ethernet controller"
145	depends on MX5 || MX6
146	help
147	  This driver supports the 10/100 Fast Ethernet controller for
148	  NXP i.MX processors.
149
150config MVPP2
151	bool "Marvell Armada 375 network interface support"
152	depends on ARMADA_375
153	select PHYLIB
154	help
155	  This driver supports the network interface units in the
156	  Marvell ARMADA 375 SoC.
157
158config PCH_GBE
159	bool "Intel Platform Controller Hub EG20T GMAC driver"
160	depends on DM_ETH && DM_PCI
161	select PHYLIB
162	help
163	  This MAC is present in Intel Platform Controller Hub EG20T. It
164	  supports 10/100/1000 Mbps operation.
165
166config RTL8139
167	bool "Realtek 8139 series Ethernet controller driver"
168	help
169	  This driver supports Realtek 8139 series fast ethernet family of
170	  PCI chipsets/adapters.
171
172config RTL8169
173	bool "Realtek 8169 series Ethernet controller driver"
174	help
175	  This driver supports Realtek 8169 series gigabit ethernet family of
176	  PCI/PCIe chipsets/adapters.
177
178config SUN8I_EMAC
179        bool "Allwinner Sun8i Ethernet MAC support"
180        depends on DM_ETH
181        select PHYLIB
182        help
183          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
184	  It can be found in H3/A64/A83T based SoCs and compatible with both
185	  External and Internal PHY's.
186
187config XILINX_AXIEMAC
188	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
189	select PHYLIB
190	select MII
191	bool "Xilinx AXI Ethernet"
192	help
193	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
194
195config XILINX_EMACLITE
196	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
197	select PHYLIB
198	select MII
199	bool "Xilinx Ethernetlite"
200	help
201	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
202
203config ZYNQ_GEM
204	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
205	select PHYLIB
206	bool "Xilinx Ethernet GEM"
207	help
208	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
209
210config PIC32_ETH
211	bool "Microchip PIC32 Ethernet Support"
212	depends on DM_ETH && MACH_PIC32
213	select PHYLIB
214	help
215	  This driver implements 10/100 Mbps Ethernet and MAC layer for
216	  Microchip PIC32 microcontrollers.
217
218config GMAC_ROCKCHIP
219	bool "Rockchip Synopsys Designware Ethernet MAC"
220	depends on DM_ETH && ETH_DESIGNWARE
221	help
222	  This driver provides Rockchip SoCs network support based on the
223	  Synopsys Designware driver.
224
225endif # NETDEVICES
226