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