[BACK]Return to wdc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / ic

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/ic/wdc.c between version 1.299 and 1.300

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);
   

Legend:
Removed from v.1.299  
changed lines
  Added in v.1.300

CVSweb <webmaster@jp.NetBSD.org>