version 1.299, 2020/04/13 10:49:34 |
version 1.300, 2020/05/19 08:21:29 |
Line 888 wdcintr(void *arg) |
|
Line 888 wdcintr(void *arg) |
|
} |
} |
|
|
if ((chp->ch_flags & ATACH_IRQ_WAIT) == 0) { |
if ((chp->ch_flags & ATACH_IRQ_WAIT) == 0) { |
ATADEBUG_PRINT(("wdcintr: irq not expected\n"), DEBUG_INTR); |
__wdcerror(chp, "irq not expected"); |
goto ignore; |
goto ignore; |
} |
} |
|
|
Line 1346 wdctimeout(void *arg) |
|
Line 1346 wdctimeout(void *arg) |
|
|
|
callout_ack(&chp->c_timo_callout); |
callout_ack(&chp->c_timo_callout); |
|
|
|
if ((chp->ch_flags & ATACH_IRQ_WAIT) == 0) { |
|
__wdcerror(chp, "timeout not expected without pending irq"); |
|
goto out; |
|
} |
|
|
xfer = ata_queue_get_active_xfer(chp); |
xfer = ata_queue_get_active_xfer(chp); |
KASSERT(xfer != NULL); |
KASSERT(xfer != NULL); |
|
|