[efi] Define an attachment priority order for EFI drivers

Define an ordering for internal EFI drivers on the basis of how close
the driver is to the hardware, and attempt to start drivers in this
order.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-03-29 15:28:19 +00:00
parent be33224754
commit 7737fec5c6
6 changed files with 12 additions and 10 deletions

View File

@@ -914,7 +914,7 @@ static void efipci_stop ( struct efi_device *efidev ) {
}
/** EFI PCI driver */
struct efi_driver efipci_driver __efi_driver ( EFI_DRIVER_NORMAL ) = {
struct efi_driver efipci_driver __efi_driver ( EFI_DRIVER_HARDWARE ) = {
.name = "PCI",
.supported = efipci_supported,
.start = efipci_start,