xref: /openbmc/u-boot/drivers/net/Kconfig (revision 679f82c3)
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
16menuconfig NETDEVICES
17	bool "Network device support"
18	depends on NET
19	default y if DM_ETH
20	help
21	  You must select Y to enable any network device support
22	  Generally if you have any networking support this is a given
23
24	  If unsure, say Y
25
26if NETDEVICES
27
28config E1000
29	bool "Intel PRO/1000 Gigabit Ethernet support"
30	help
31	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
32	  adapters.  For more information on how to identify your adapter, go
33	  to the Adapter & Driver ID Guide at:
34
35	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
36
37config E1000_SPI_GENERIC
38	bool "Allow access to the Intel 8257x SPI bus"
39	depends on E1000
40	help
41	  Allow generic access to the SPI bus on the Intel 8257x, for
42	  example with the "sspi" command.
43
44config E1000_SPI
45	bool "Enable SPI bus utility code"
46	depends on E1000
47	help
48	  Utility code for direct access to the SPI bus on Intel 8257x.
49	  This does not do anything useful unless you set at least one
50	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
51
52config CMD_E1000
53	bool "Enable the e1000 command"
54	depends on E1000
55	help
56	  This enables the 'e1000' management command for E1000 devices. When
57	  used on devices with SPI support you can reprogram the EEPROM from
58	  U-Boot.
59
60config ETH_SANDBOX
61	depends on DM_ETH && SANDBOX
62	default y
63	bool "Sandbox: Mocked Ethernet driver"
64	help
65	  This driver simply responds with fake ARP replies and ping
66	  replies that are used to verify network stack functionality
67
68	  This driver is particularly useful in the test/dm/eth.c tests
69
70config ETH_SANDBOX_RAW
71	depends on DM_ETH && SANDBOX
72	default y
73	bool "Sandbox: Bridge to Linux Raw Sockets"
74	help
75	  This driver is a bridge from the bottom of the network stack
76	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
77	  network traffic to be tested from within sandbox. See
78	  board/sandbox/README.sandbox for more details.
79
80config ETH_DESIGNWARE
81	bool "Synopsys Designware Ethernet MAC"
82	help
83	  This MAC is present in SoCs from various vendors. It supports
84	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
85	  provide the PHY (physical media interface).
86
87config PCH_GBE
88	bool "Intel Platform Controller Hub EG20T GMAC driver"
89	depends on DM_ETH && DM_PCI
90	select PHYLIB
91	help
92	  This MAC is present in Intel Platform Controller Hub EG20T. It
93	  supports 10/100/1000 Mbps operation.
94
95endif # NETDEVICES
96