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:
@@ -57,10 +57,11 @@ get_device_dma_mode(ide_device_info *device)
|
|||||||
bool
|
bool
|
||||||
configure_dma(ide_device_info *device)
|
configure_dma(ide_device_info *device)
|
||||||
{
|
{
|
||||||
device->DMA_enabled = device->DMA_supported = device->bus->can_DMA
|
if ((device->DMA_enabled = device->DMA_supported = device->bus->can_DMA)
|
||||||
&& get_device_dma_mode(device) != -1;
|
&& get_device_dma_mode(device) != -1)
|
||||||
|
return true;
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user