Fixed the interrupt handler. however, it should still be fixed again later...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18814 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2006-09-11 22:41:41 +00:00
parent 0981e2db9c
commit 720f6072d1

View File

@ -812,6 +812,7 @@ handle_interrupt(void *arg)
controller_data *controller = arg;
ide_bm_status bm_status;
uint8 status;
int32 ret;
int i;
FLOW("handle_interrupt\n");
@ -830,7 +831,9 @@ handle_interrupt(void *arg)
// acknowledge IRQ
status = *(channel->command_block + 7);
return ide->irq_handler(channel->ide_channel, status);
ret = ide->irq_handler(channel->ide_channel, status);
if (ret != B_UNHANDLED_INTERRUPT)
return ret;
}
return B_UNHANDLED_INTERRUPT;