]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/Kconfig
sandbox: eth: Add network support to sandbox
[karo-tx-uboot.git] / drivers / net / Kconfig
index d03d18ef49a5bd584de3448ad65bc2bf08624f77..e48d84c5019aae30cfb275000714e244f4e91bd5 100644 (file)
@@ -11,9 +11,24 @@ config DM_ETH
 menuconfig NETDEVICES
        bool "Network device support"
        depends on NET
+       help
+         You must select Y to enable any network device support
+         Generally if you have any networking support this is a given
+
+         If unsure, say Y
 
 if NETDEVICES
 
+config ETH_SANDBOX
+       depends on DM_ETH && SANDBOX
+       default y
+       bool "Sandbox: Mocked Ethernet driver"
+       help
+         This driver simply responds with fake ARP replies and ping
+         replies that are used to verify network stack functionality
+
+         This driver is particularly useful in the test/dm/eth.c tests
+
 config MII
        bool
 
@@ -36,4 +51,4 @@ endif
 
 source "drivers/net/phy/Kconfig"
 
-endif
+endif # NETDEVICES