Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Don't print an error message on spurious interrup...



details:   https://anonhg.NetBSD.org/src/rev/68ec95badfee
branches:  trunk
changeset: 934016:68ec95badfee
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Jun 03 18:25:26 2020 +0000

description:
Don't print an error message on spurious interrupt. Way too noisy for Xen.

diffstat:

 sys/dev/ic/wdc.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 9e511887ae0e -r 68ec95badfee sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c  Wed Jun 03 18:07:26 2020 +0000
+++ b/sys/dev/ic/wdc.c  Wed Jun 03 18:25:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.302 2020/05/30 13:23:14 jdolecek Exp $ */
+/*     $NetBSD: wdc.c,v 1.303 2020/06/03 18:25:26 bouyer Exp $ */
 
 /*
  * Copyright (c) 1998, 2001, 2003 Manuel Bouyer.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.302 2020/05/30 13:23:14 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.303 2020/06/03 18:25:26 bouyer Exp $");
 
 #include "opt_ata.h"
 #include "opt_wdc.h"
@@ -892,10 +892,8 @@
                return (0);
        }
 
-       if ((chp->ch_flags & ATACH_IRQ_WAIT) == 0) {
-               __wdcerror(chp, "irq not expected");
+       if ((chp->ch_flags & ATACH_IRQ_WAIT) == 0)
                goto ignore;
-       }
 
        xfer = ata_queue_get_active_xfer(chp);
        if (xfer == NULL) {



Home | Main Index | Thread Index | Old Index