mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Kernel: Propagate properly errors from ISAIDEController initialization
This commit is contained in:
parent
e785c66f91
commit
d94f3b902c
3 changed files with 22 additions and 26 deletions
|
@ -429,7 +429,8 @@ UNMAP_AFTER_INIT void StorageManagement::initialize(StringView root_device, bool
|
|||
#if ARCH(I386) || ARCH(X86_64)
|
||||
// Note: If PCI is disabled, we assume that at least we have an ISA IDE controller
|
||||
// to probe and use
|
||||
m_controllers.append(ISAIDEController::initialize());
|
||||
auto isa_ide_controller = MUST(ISAIDEController::initialize());
|
||||
m_controllers.append(isa_ide_controller);
|
||||
#endif
|
||||
} else {
|
||||
enumerate_pci_controllers(force_pio, poll);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue