From 00c745e5ffd6c6be9c8a31223955527a5aca6f92 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 7 Jul 2014 23:55:55 +0100 Subject: [autoboot] Allow autoboot device to be identified by link-layer address Signed-off-by: Michael Brown --- src/include/usr/autoboot.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h index f562b2b12..bc51aae79 100644 --- a/src/include/usr/autoboot.h +++ b/src/include/usr/autoboot.h @@ -9,8 +9,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); -#include #include + 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 ); -- cgit v1.2.3-55-g7522