net: sandbox: Make the fake eth driver response configurable
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 26 Sep 2018 21:48:55 +0000 (16:48 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:57 +0000 (12:28 -0500)
commitc7eb733d606667508b69ee922e9738d55259304e
treed836fdf2de7b2d5f36bb1c3bee79d67ecd7f1f9d
parente95bb1611043ff1ad5b63602e32bba302e402491
net: sandbox: Make the fake eth driver response configurable

Make the send handler registerable so tests can check for different
things.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/include/asm/eth.h
drivers/net/sandbox.c