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
commit 48730ff8ec
Notes: sideshowbarker 2024-07-17 06:47:00 +09:00

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