mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +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
Notes:
sideshowbarker
2024-07-17 06:47:00 +09:00
Author: https://github.com/supercomputer7
Commit: 48730ff8ec
Pull-request: https://github.com/SerenityOS/serenity/pull/15259
Reviewed-by: https://github.com/linusg
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>)
|
||||
{
|
||||
return allocate_resources(false);
|
||||
return allocate_resources(true);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue