1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Only register interrupt as seen if it was a real HW interrupt.

This commit is contained in:
Søren Schmidt 2004-02-21 16:55:10 +00:00
parent 936d55b515
commit 0c7ab1146f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126072

View File

@ -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)) {