sandbox: eth-raw: Add a SIMPLE_BUS to enumerate host interfaces
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 2 Jul 2018 19:47:54 +0000 (14:47 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:19 +0000 (14:08 -0500)
commitf40a31e695638e0422fdce3c4c6eb39cd1f11f91
treec31007bdb6512d4d75f182f0e0410a52cbd96727
parentb96ced9cdb6bbba1ef4e0087eec799127a22afab
sandbox: eth-raw: Add a SIMPLE_BUS to enumerate host interfaces

Ask the OS for each of its interfaces and for each one, bind a U-Boot
device and then probe it. This will allocate the priv data structure
that is then populated.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/eth-raw-os.c
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/sandbox64.dts
arch/sandbox/include/asm/eth-raw-os.h
drivers/net/Makefile
drivers/net/sandbox-raw-bus.c [new file with mode: 0644]