git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22295 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2007-09-24 21:39:18 +00:00
parent de372c5c6b
commit fab4e5b126

View File

@ -187,7 +187,7 @@ AHCIPort::ResetDevice()
fRegs->cmd |= PORT_CMD_ST;
FlushPostedWrites();
if (fRegs->ssts & 1)
if (fRegs->ssts & 1) {
if (wait_until_set(&fRegs->ssts, 0x3, 1000000) < B_OK) {
TRACE("AHCIPort::ResetDevice port %d device present but no phy communication\n", fIndex);
}