mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[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:
@@ -1055,7 +1055,6 @@ static int efi_block_boot ( unsigned int drive ) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
PROVIDE_SANBOOT_INLINE ( efi, san_default_drive );
|
||||
PROVIDE_SANBOOT ( efi, san_hook, efi_block_hook );
|
||||
PROVIDE_SANBOOT ( efi, san_unhook, efi_block_unhook );
|
||||
PROVIDE_SANBOOT ( efi, san_describe, efi_block_describe );
|
||||
|
||||
Reference in New Issue
Block a user