summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorAlex Williamson2014-02-26 00:00:23 +0100
committerMichael Brown2014-03-03 16:11:03 +0100
commit123bae9d939235a62e67d0cbfc66f3277bd81844 (patch)
treed07e8ee0805663352ec818a29f9e2facc3ac6898 /src/include/usr
parent[romprefix] Allow ROM banner timeout to be configured independently (diff)
downloadipxe-123bae9d939235a62e67d0cbfc66f3277bd81844.tar.gz
ipxe-123bae9d939235a62e67d0cbfc66f3277bd81844.tar.xz
ipxe-123bae9d939235a62e67d0cbfc66f3277bd81844.zip
[autoboot] Enable infrastructure to specify an autoboot device location
iPXE will currently attempt to boot from every network device for which it has a driver. Where a system has more than one network device supported by iPXE, this renders BIOS IPL lists ineffective. Allow an autoboot device location to be specified. If such a location is specified, then only devices matching that location will be used as part of the automatic boot sequence. If no such location is specified, then all devices will be used. Note that this does not affect the "autoboot" command, which will continue to use all devices. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/autoboot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h
index cfa4c41e..f562b2b1 100644
--- a/src/include/usr/autoboot.h
+++ b/src/include/usr/autoboot.h
@@ -10,6 +10,7 @@
FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/in.h>
+#include <ipxe/device.h>
struct net_device;
struct uri;
struct settings;
@@ -25,12 +26,13 @@ enum uriboot_flags {
URIBOOT_NO_SAN_BOOT | \
URIBOOT_NO_SAN_UNHOOK )
+extern struct device_description autoboot_device;
+
extern int uriboot ( struct uri *filename, struct uri *root_path, int drive,
unsigned int flags );
extern struct uri *
fetch_next_server_and_filename ( struct settings *settings );
extern int netboot ( struct net_device *netdev );
-extern int autoboot ( void );
extern void ipxe ( struct net_device *netdev );
extern int pxe_menu_boot ( struct net_device *netdev );