mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 12:37:40 +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:
parent
4f46a0e4aa
commit
48730ff8ec
1 changed files with 1 additions and 1 deletions
|
@ -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>)
|
ErrorOr<void> IDEChannel::allocate_resources_for_isa_ide_controller(Badge<ISAIDEController>)
|
||||||
{
|
{
|
||||||
return allocate_resources(false);
|
return allocate_resources(true);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue