aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-07-07 23:55:55 +0100
committerMichael Brown <mcb30@ipxe.org>2014-07-08 00:37:31 +0100
commit00c745e5ffd6c6be9c8a31223955527a5aca6f92 (patch)
tree74cfea02fb340839c86bf8b272f1f6deb8c216fd /src/include
parentc7051d826b43954b1e191667a75b21b44ec02c35 (diff)
downloadipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.zip
ipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.tar.gz
ipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.tar.bz2
[autoboot] Allow autoboot device to be identified by link-layer address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/autoboot.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h
index f562b2b..bc51aae 100644
--- a/src/include/usr/autoboot.h
+++ b/src/include/usr/autoboot.h
@@ -9,8 +9,8 @@
FILE_LICENCE ( GPL2_OR_LATER );
-#include <ipxe/in.h>
#include <ipxe/device.h>
+
struct net_device;
struct uri;
struct settings;
@@ -26,7 +26,9 @@ enum uriboot_flags {
URIBOOT_NO_SAN_BOOT | \
URIBOOT_NO_SAN_UNHOOK )
-extern struct device_description autoboot_device;
+extern void set_autoboot_busloc ( unsigned int bus_type,
+ unsigned int location );
+extern void set_autoboot_ll_addr ( const void *ll_addr, size_t len );
extern int uriboot ( struct uri *filename, struct uri *root_path, int drive,
unsigned int flags );