Joe Hershberger | 05c3e68 | 2015-03-22 17:09:10 -0500 | [diff] [blame] | 1 | config 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 Hershberger | 3ea143a | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 10 | |
| 11 | menuconfig NETDEVICES |
| 12 | bool "Network device support" |
| 13 | depends on NET |
| 14 | help |
| 15 | You must select Y to enable any network device support |
| 16 | Generally if you have any networking support this is a given |
| 17 | |
| 18 | If unsure, say Y |
| 19 | |
| 20 | if NETDEVICES |
| 21 | |
| 22 | config ETH_SANDBOX |
| 23 | depends on DM_ETH && SANDBOX |
| 24 | default y |
| 25 | bool "Sandbox: Mocked Ethernet driver" |
| 26 | help |
| 27 | This driver simply responds with fake ARP replies and ping |
| 28 | replies that are used to verify network stack functionality |
| 29 | |
| 30 | This driver is particularly useful in the test/dm/eth.c tests |
| 31 | |
Joe Hershberger | a346ca7 | 2015-03-22 17:09:21 -0500 | [diff] [blame^] | 32 | config ETH_SANDBOX_RAW |
| 33 | depends on DM_ETH && SANDBOX |
| 34 | default y |
| 35 | bool "Sandbox: Bridge to Linux Raw Sockets" |
| 36 | help |
| 37 | This driver is a bridge from the bottom of the network stack |
| 38 | in U-Boot to the RAW AF_PACKET API in Linux. This allows real |
| 39 | network traffic to be tested from within sandbox. See |
| 40 | board/sandbox/README.sandbox for more details. |
| 41 | |
Joe Hershberger | 3ea143a | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 42 | endif # NETDEVICES |