[U-Boot] [PATCH v2 11/11] sandbox: eth-raw: Add a SIMPLE_BUS to enumerate host interfaces
Simon Glass
sjg at chromium.org
Sat Jun 30 04:20:37 UTC 2018
On 29 June 2018 at 20:21, Joe Hershberger <joe.hershberger at ni.com> wrote:
> 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 at ni.com>
> ---
>
> Changes in v2: None
>
> arch/sandbox/cpu/eth-raw-os.c | 10 ++++++
> arch/sandbox/dts/sandbox.dts | 19 ++++------
> arch/sandbox/dts/sandbox64.dts | 19 ++++------
> arch/sandbox/include/asm/eth-raw-os.h | 11 ++++++
> drivers/net/Makefile | 1 +
> drivers/net/sandbox-raw-bus.c | 65 +++++++++++++++++++++++++++++++++++
> 6 files changed, 99 insertions(+), 26 deletions(-)
> create mode 100644 drivers/net/sandbox-raw-bus.c
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list