summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorMichael Brown2016-03-22 10:35:10 +0100
committerMichael Brown2016-03-22 10:55:09 +0100
commitc32b07b81b6085f19af718d85300a7d2acef240b (patch)
treeb1ca150b3c17a527bac7d9ce0fa70ae398448de1 /src/arch/x86/include
parent[int13] Allow drive to be hooked using the natural drive number (diff)
downloadipxe-c32b07b81b6085f19af718d85300a7d2acef240b.tar.gz
ipxe-c32b07b81b6085f19af718d85300a7d2acef240b.tar.xz
ipxe-c32b07b81b6085f19af718d85300a7d2acef240b.zip
[int13] Allow default drive to be specified via "san-drive" setting
The DHCP option 175.189 has been defined (by us) since 2006 as containing the drive number to be used for a SAN boot, but has never been automatically used as such by iPXE. Use this option (if specified) to override the default SAN drive number. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/ipxe/bios_sanboot.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/x86/include/ipxe/bios_sanboot.h b/src/arch/x86/include/ipxe/bios_sanboot.h
index 1a86b7d57..85d698039 100644
--- a/src/arch/x86/include/ipxe/bios_sanboot.h
+++ b/src/arch/x86/include/ipxe/bios_sanboot.h
@@ -15,15 +15,4 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define SANBOOT_PREFIX_pcbios __pcbios_
#endif
-/**
- * Get default SAN drive number
- *
- * @ret drive Default drive number
- */
-static inline __always_inline unsigned int
-SANBOOT_INLINE ( pcbios, san_default_drive ) ( void ) {
- /* Default to booting from first hard disk */
- return 0x80;
-}
-
#endif /* _IPXE_BIOS_SANBOOT_H */