Module Name: src
Committed By: bouyer
Date: Wed Jun 3 18:25:26 UTC 2020
Modified Files:
src/sys/dev/ic: wdc.c
Log Message:
Don't print an error message on spurious interrupt. Way too noisy for Xen.
To generate a diff of this commit:
cvs rdiff -u -r1.302 -r1.303 src/sys/dev/ic/wdc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/wdc.c
diff -u src/sys/dev/ic/wdc.c:1.302 src/sys/dev/ic/wdc.c:1.303
--- src/sys/dev/ic/wdc.c:1.302 Sat May 30 13:23:14 2020
+++ src/sys/dev/ic/wdc.c Wed Jun 3 18:25:26 2020
@@ -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 @@ wdcintr(void *arg)
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) {