1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 00:08:11 +00:00

Kernel/Storage: Force PIO mode for ISA IDE controllers

ISA IDE controllers don't support Bus-master DMA as this feature is only
available for PCI IDE controllers. Therefore, don't try to use DMA mode
for such hardware.
This commit is contained in:
Liav A 2022-09-16 13:00:12 +03:00 committed by Linus Groh
parent 4f46a0e4aa
commit 48730ff8ec

View file

@ -89,7 +89,7 @@ ErrorOr<void> IDEChannel::allocate_resources_for_pci_ide_controller(Badge<PCIIDE
}
ErrorOr<void> IDEChannel::allocate_resources_for_isa_ide_controller(Badge<ISAIDEController>)
{
return allocate_resources(false);
return allocate_resources(true);
}
#endif