summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2014-07-08 00:55:55 +0200
committerMichael Brown2014-07-08 01:37:31 +0200
commit00c745e5ffd6c6be9c8a31223955527a5aca6f92 (patch)
tree74cfea02fb340839c86bf8b272f1f6deb8c216fd /src/include/usr
parent[efi] Allow network devices to be created on top of arbitrary SNP devices (diff)
downloadipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.tar.gz
ipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.tar.xz
ipxe-00c745e5ffd6c6be9c8a31223955527a5aca6f92.zip
[autoboot] Allow autoboot device to be identified by link-layer address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
-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 f562b2b1..bc51aae7 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 );