diff options
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ata/wd.c | 6 | ||||
| -rw-r--r-- | sys/dev/isa/wd.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index 354c5eeb0a6..45cacfe515f 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.76 1994/04/07 06:51:17 mycroft Exp $ + * $Id: wd.c,v 1.77 1994/04/09 03:43:36 mycroft Exp $ */ #define INSTRUMENT /* instrumentation stuff by Brad Parker */ @@ -712,10 +712,8 @@ wdcintr(wdc) /* Clear the pending interrupt. */ (void) inb(wdc->sc_iobase+wd_status); - if (!wdc->sc_q.b_active) { - printf("%s: extra interrupt\n", wdc->sc_dev.dv_xname); + if (!wdc->sc_q.b_active) return 0; - } bp = wdc->sc_q.b_forw->b_actf; wd = wdcd.cd_devs[WDUNIT(bp->b_dev)]; diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c index 354c5eeb0a6..45cacfe515f 100644 --- a/sys/dev/isa/wd.c +++ b/sys/dev/isa/wd.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.76 1994/04/07 06:51:17 mycroft Exp $ + * $Id: wd.c,v 1.77 1994/04/09 03:43:36 mycroft Exp $ */ #define INSTRUMENT /* instrumentation stuff by Brad Parker */ @@ -712,10 +712,8 @@ wdcintr(wdc) /* Clear the pending interrupt. */ (void) inb(wdc->sc_iobase+wd_status); - if (!wdc->sc_q.b_active) { - printf("%s: extra interrupt\n", wdc->sc_dev.dv_xname); + if (!wdc->sc_q.b_active) return 0; - } bp = wdc->sc_q.b_forw->b_actf; wd = wdcd.cd_devs[WDUNIT(bp->b_dev)]; |
