diff options
-rw-r--r-- | sys/dev/ata/ata-lowlevel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c index ab8a142..1bbf5b2 100644 --- a/sys/dev/ata/ata-lowlevel.c +++ b/sys/dev/ata/ata-lowlevel.c @@ -320,7 +320,9 @@ ata_interrupt(void *data) /* clear interrupt and get status */ request->status = ATA_IDX_INB(ch, ATA_STATUS); - request->flags |= ATA_R_INTR_SEEN; + + if (!(request->flags & ATA_R_TIMEOUT)) + request->flags |= ATA_R_INTR_SEEN; switch (request->flags & (ATA_R_ATAPI | ATA_R_DMA | ATA_R_CONTROL)) { |