summaryrefslogtreecommitdiff
path: root/include/configs/sandbox.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-03-22 17:09:16 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:13 -0600
commite58780dcb7b8656ebc2dd6ba6d0da728bc65bf40 (patch)
tree68b6448131caeaa7d02a88cfbb1116e56f3b679b /include/configs/sandbox.h
parentbfacad7da11711231ca59717c0a8bc7317c5bb28 (diff)
dm: eth: Add support for aliases
Allow network devices to be referred to as "eth0" instead of "eth@12345678" when specified in ethact. Add tests to verify this behavior. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/sandbox.h')
-rw-r--r--include/configs/sandbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index e225ce6772..9769a8dd80 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -178,7 +178,7 @@
#define SANDBOX_ETH_SETTINGS "ethaddr=00:00:11:22:33:44\0" \
"eth1addr=00:00:11:22:33:45\0" \
- "eth2addr=00:00:11:22:33:46\0" \
+ "eth5addr=00:00:11:22:33:46\0" \
"ipaddr=1.2.3.4\0"
#define CONFIG_EXTRA_ENV_SETTINGS SANDBOX_SERIAL_SETTINGS \