sandbox: eth-raw: Make random MAC addresses available to eth-raw
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 2 Jul 2018 19:47:53 +0000 (14:47 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:18 +0000 (14:08 -0500)
commitb96ced9cdb6bbba1ef4e0087eec799127a22afab
tree671d97f0362c33f7b36ad9a244e1de68fbb93aef
parentc9e2caff8503b0dfa750b5ed08f882919fd3b510
sandbox: eth-raw: Make random MAC addresses available to eth-raw

We don't necessarily know how many MAC addresses we'll need, so implement
a ROM read so we always have something valid.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/net/sandbox-raw.c