[U-Boot] [PATCH 0/5] sandbox: net: Fix sandbox eth drivers

Joe Hershberger joe.hershberger at ni.com
Tue Jun 26 21:19:21 UTC 2018


It seems as sandbox moved to livetree these drivers were not updated.
Heinrich suggested correctly that at this point we should be enumerating
network interface names, not hard-coding eth0.
Also, there were a few bugs that needed fixing.


Joe Hershberger (5):
  sandbox: eth-raw: Correct valid socket test in send/recv
  net: Correct comment in Kconfig
  net: sandbox: Convert sandbox mock eth driver to livetree
  net: sandbox-raw: Convert raw eth driver to livetree
  net: sandbox-raw: Allow interface to be specified by index

 arch/sandbox/cpu/eth-raw-os.c         | 32 ++++++++++++++++++++++++++++++--
 arch/sandbox/dts/sandbox.dts          |  2 +-
 arch/sandbox/include/asm/eth-raw-os.h |  4 +++-
 drivers/net/Kconfig                   |  2 +-
 drivers/net/sandbox-raw.c             | 28 ++++++++++++++++++----------
 drivers/net/sandbox.c                 | 15 +++++++++++----
 6 files changed, 64 insertions(+), 19 deletions(-)

-- 
2.11.0



More information about the U-Boot mailing list