summaryrefslogtreecommitdiffstats
path: root/src/core/null_sanboot.c
diff options
context:
space:
mode:
authorMichael Brown2011-04-23 10:50:38 +0200
committerMichael Brown2011-04-24 17:44:34 +0200
commit5d2802e4030ed9177c01e751fd89c898eaf90f88 (patch)
tree40d2468fd50c4ea6f39ee165536eb782e7ec0376 /src/core/null_sanboot.c
parent[parseopt] Allow for pre-initialised option sets (diff)
downloadipxe-5d2802e4030ed9177c01e751fd89c898eaf90f88.tar.gz
ipxe-5d2802e4030ed9177c01e751fd89c898eaf90f88.tar.xz
ipxe-5d2802e4030ed9177c01e751fd89c898eaf90f88.zip
[sanboot] Add "sanhook" and "sanunhook" commands
Expose the multiple-SAN-drive capability of the iPXE core via the iPXE command line by adding commands to hook and unhook additional drives. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/null_sanboot.c')
-rw-r--r--src/core/null_sanboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/null_sanboot.c b/src/core/null_sanboot.c
index 9cdb1629..6584e7a1 100644
--- a/src/core/null_sanboot.c
+++ b/src/core/null_sanboot.c
@@ -38,6 +38,7 @@ static int null_san_describe ( unsigned int drive __unused ) {
return -EOPNOTSUPP;
}
+PROVIDE_SANBOOT_INLINE ( null, san_default_drive );
PROVIDE_SANBOOT ( null, san_hook, null_san_hook );
PROVIDE_SANBOOT ( null, san_unhook, null_san_unhook );
PROVIDE_SANBOOT ( null, san_boot, null_san_boot );