summaryrefslogtreecommitdiffstats
path: root/src/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/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/include')
-rw-r--r--src/include/ipxe/dhcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/dhcp.h b/src/include/ipxe/dhcp.h
index a11db349..0bd7c1dc 100644
--- a/src/include/ipxe/dhcp.h
+++ b/src/include/ipxe/dhcp.h
@@ -403,12 +403,12 @@ struct dhcp_netdev_desc {
/** Use cached network settings (obsolete; do not reuse this value) */
#define DHCP_EB_USE_CACHED DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xb2 )
-/** BIOS drive number
+/** SAN drive number
*
- * This is the drive number for a drive emulated via INT 13. 0x80 is
+ * This is the drive number for a SAN-hooked drive. For BIOS, 0x80 is
* the first hard disk, 0x81 is the second hard disk, etc.
*/
-#define DHCP_EB_BIOS_DRIVE DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xbd )
+#define DHCP_EB_SAN_DRIVE DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xbd )
/** Username
*