[block] Centralise "san-drive" setting
The concept of the SAN drive number is meaningful only in a BIOS environment, where it represents the INT13 drive number (0x80 for the first hard disk). We retain this concept in a UEFI environment to allow for a simple way for iPXE commands to refer to SAN drives. Centralise the concept of the default drive number, since it is shared between all supported environments. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -43,7 +43,6 @@ 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 );
|
||||
|
||||
Reference in New Issue
Block a user