feat: rank drivers at compile time
This commit is contained in:
@@ -671,10 +671,9 @@ uint8_t ide_access(uint8_t direction, uint8_t drive, uint32_t lba, uint8_t numse
|
||||
return result;
|
||||
}
|
||||
|
||||
PCI_DRIVER(
|
||||
PCI_DRIVER(900) = {
|
||||
.name = "pci-ide",
|
||||
.description = "Default PCI IDE Driver",
|
||||
.rank = 10000, // let other block_dev_drivers precede if they can
|
||||
.validatable = true,
|
||||
.initialisable = true,
|
||||
.match.class = PCI_CLASS_MASS_STORAGE,
|
||||
@@ -683,5 +682,5 @@ PCI_DRIVER(
|
||||
.mask.subclass = true,
|
||||
.validate = ide_pci_validate,
|
||||
.initialize = ide_pci_initialize,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user