blob: ce76a02da0cefe9c460f30444f9ca33d0ce00c23 [file] [log] [blame]
Joe Hershbergerc7eceaf2015-03-22 17:09:10 -05001config 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.
Joe Hershberger6ab76992015-03-22 17:09:13 -050010
11menuconfig NETDEVICES
12 bool "Network device support"
13 depends on NET
Joe Hershberger5a9d7f12015-06-22 16:15:30 -050014 default y if DM_ETH
Joe Hershberger6ab76992015-03-22 17:09:13 -050015 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 ETH_SANDBOX
24 depends on DM_ETH && SANDBOX
25 default y
26 bool "Sandbox: Mocked Ethernet driver"
27 help
28 This driver simply responds with fake ARP replies and ping
29 replies that are used to verify network stack functionality
30
31 This driver is particularly useful in the test/dm/eth.c tests
32
Joe Hershberger586cbd12015-03-22 17:09:21 -050033config ETH_SANDBOX_RAW
34 depends on DM_ETH && SANDBOX
35 default y
36 bool "Sandbox: Bridge to Linux Raw Sockets"
37 help
38 This driver is a bridge from the bottom of the network stack
39 in U-Boot to the RAW AF_PACKET API in Linux. This allows real
40 network traffic to be tested from within sandbox. See
41 board/sandbox/README.sandbox for more details.
42
Simon Glass6e378742015-04-05 16:07:34 -060043config ETH_DESIGNWARE
44 bool "Synopsys Designware Ethernet MAC"
45 help
46 This MAC is present in SoCs from various vendors. It supports
47 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
48 provide the PHY (physical media interface).
49
Joe Hershberger6ab76992015-03-22 17:09:13 -050050endif # NETDEVICES