diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-03-22 17:09:19 -0500 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:13 -0600 |
commit | 2eede1f363b485a9b2b49ac097b9a24256716c8b (patch) | |
tree | ee5e6e8bd1e7baa62cb3c1b30d4bbec589509fcf /arch/sandbox/include/asm | |
parent | 7d104eab7dfb632dd96d027b7bfb233f1ae41ba7 (diff) | |
download | u-boot-imx-2eede1f363b485a9b2b49ac097b9a24256716c8b.zip u-boot-imx-2eede1f363b485a9b2b49ac097b9a24256716c8b.tar.gz u-boot-imx-2eede1f363b485a9b2b49ac097b9a24256716c8b.tar.bz2 |
sandbox: eth: Add ability to disable ping reply in sandbox eth driver
This is needed to test the netretry functionality (make the command fail
on a sandbox eth device).
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm')
-rw-r--r-- | arch/sandbox/include/asm/eth.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/eth.h b/arch/sandbox/include/asm/eth.h new file mode 100644 index 0000000..4b79ede --- /dev/null +++ b/arch/sandbox/include/asm/eth.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2015 National Instruments + * + * (C) Copyright 2015 + * Joe Hershberger <joe.hershberger@ni.com> + * + * SPDX-License-Identifier: GPL-2.0 + */ + +#ifndef __ETH_H +#define __ETH_H + +void sandbox_eth_disable_response(int index, bool disable); + +#endif /* __ETH_H */ |