mbox series

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

Message ID 20180626211926.13172-1-joe.hershberger@ni.com
Headers show
Series sandbox: net: Fix sandbox eth drivers | expand

Message

Joe Hershberger June 26, 2018, 9:19 p.m. UTC
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(-)