return error bit only instead of 0xff (B_ERROR)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18789 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -95,7 +95,7 @@ ide_adapter_get_altstatus(ide_adapter_channel_info *channel)
|
|||||||
uint16 altstatusaddr = channel->control_block_base;
|
uint16 altstatusaddr = channel->control_block_base;
|
||||||
|
|
||||||
if (channel->lost)
|
if (channel->lost)
|
||||||
return B_ERROR;
|
return 0x01; // Error bit
|
||||||
|
|
||||||
return pci->read_io_8(device, altstatusaddr);
|
return pci->read_io_8(device, altstatusaddr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user