mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
Show SATA device path.
This commit is contained in:
1 parent
faf4a65e1e
commit
4d6c69536e
3 files changed
+26
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2013-12-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Show SATA device path.
|
||||
|
||||
2013-12-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Revert grub-file usage in grub-mkconfig.
|
||||
|
||||
@@ -677,6 +677,17 @@ grub_efi_print_device_path (grub_efi_device_path_t *dp)
|
||||
uart.stop_bits);
|
||||
}
|
||||
break;
|
||||
case GRUB_EFI_SATA_DEVICE_PATH_SUBTYPE:
|
||||
{
|
||||
grub_efi_sata_device_path_t *sata;
|
||||
sata = (grub_efi_sata_device_path_t *) dp;
|
||||
grub_printf ("/Sata(%x,%x,%x)",
|
||||
sata->hba_port,
|
||||
sata->multiplier_port,
|
||||
sata->lun);
|
||||
}
|
||||
break;
|
||||
|
||||
case GRUB_EFI_VENDOR_MESSAGING_DEVICE_PATH_SUBTYPE:
|
||||
dump_vendor_path ("Messaging",
|
||||
(grub_efi_vendor_device_path_t *) dp);
|
||||
|
||||
@@ -819,6 +819,17 @@ struct grub_efi_uart_device_path
|
||||
} GRUB_PACKED;
|
||||
typedef struct grub_efi_uart_device_path grub_efi_uart_device_path_t;
|
||||
|
||||
#define GRUB_EFI_SATA_DEVICE_PATH_SUBTYPE 18
|
||||
|
||||
struct grub_efi_sata_device_path
|
||||
{
|
||||
grub_efi_device_path_t header;
|
||||
grub_efi_uint16_t hba_port;
|
||||
grub_efi_uint16_t multiplier_port;
|
||||
grub_efi_uint16_t lun;
|
||||
} GRUB_PACKED;
|
||||
typedef struct grub_efi_sata_device_path grub_efi_sata_device_path_t;
|
||||
|
||||
#define GRUB_EFI_VENDOR_MESSAGING_DEVICE_PATH_SUBTYPE 10
|
||||
|
||||
/* Media Device Path. */
|
||||
|
||||
Reference in new issue
Block a user