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:
Marcus Overhagen
2006-09-10 16:40:30 +00:00
parent 269802a414
commit 33c2f1d2ed
@@ -95,7 +95,7 @@ ide_adapter_get_altstatus(ide_adapter_channel_info *channel)
uint16 altstatusaddr = channel->control_block_base;
if (channel->lost)
return B_ERROR;
return 0x01; // Error bit
return pci->read_io_8(device, altstatusaddr);
}