IDE busmanager did not honor the user's failsafe startup item disable IDE DMA. Now it does. This reveals another error in the busmanager: PIO mode doesn't work on my systems: can't find boot volume.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27684 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1ad71ed0a0
commit
80d6ff9e6f
@ -57,10 +57,11 @@ get_device_dma_mode(ide_device_info *device)
|
||||
bool
|
||||
configure_dma(ide_device_info *device)
|
||||
{
|
||||
device->DMA_enabled = device->DMA_supported = device->bus->can_DMA
|
||||
&& get_device_dma_mode(device) != -1;
|
||||
if ((device->DMA_enabled = device->DMA_supported = device->bus->can_DMA)
|
||||
&& get_device_dma_mode(device) != -1)
|
||||
return true;
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user