summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-04 14:55:13 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2015-05-19 13:33:21 -0500
commitbef1014b31c5b33052bcaa865ba3618d73e906f0 (patch)
treeb56bfdcf1466f142f2aeb4ed87cb6e6a87d73f24 /README
parentabbfcbe58eefc1accda5dd120fcfe58d244b63dd (diff)
downloadblackbird-obmc-uboot-bef1014b31c5b33052bcaa865ba3618d73e906f0.tar.gz
blackbird-obmc-uboot-bef1014b31c5b33052bcaa865ba3618d73e906f0.zip
net: Implement random ethaddr fallback in eth.c
Implement the random ethaddr fallback in eth.c so it is in a common place and not reimplemented in each board or driver that wants this behavior. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 2 insertions, 1 deletions
diff --git a/README b/README
index 1ea397a35c..5cbb39b93f 100644
--- a/README
+++ b/README
@@ -5623,7 +5623,8 @@ o If both the SROM and the environment contain a MAC address, and the
warning is printed.
o If neither SROM nor the environment contain a MAC address, an error
- is raised.
+ is raised. If CONFIG_NET_RANDOM_ETHADDR is defined, then in this case
+ a random, locally-assigned MAC is used.
If Ethernet drivers implement the 'write_hwaddr' function, valid MAC addresses
will be programmed into hardware as part of the initialization process. This
OpenPOWER on IntegriCloud