summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-11 07:43:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-11 07:43:31 +0000
commit322915facec3177278e63d2d902533d68526ab68 (patch)
treea1697d16e88f7202461c8cf48f25260c9cf10456 /sys
parentcddeb7f28365b004b7ed8f5c31af1824e9f4a6b7 (diff)
Noone seems to want to fix the sparc64 cd bogus intr bug, so I will simply disable the message
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pciide.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index abac1197280..91d5aa88936 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.73 2001/11/06 19:53:19 miod Exp $ */
+/* $OpenBSD: pciide.c,v 1.74 2001/11/11 07:43:30 deraadt Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -2415,10 +2415,12 @@ cmd_pci_intr(arg)
if ((i == 0 && (priirq & CMD_CONF_DRV0_INTR)) ||
(i == 1 && (secirq & CMD_ARTTIM23_IRQ))) {
crv = wdcintr(wdc_cp);
- if (crv == 0)
+ if (crv == 0) {
+#if 0
printf("%s:%d: bogus intr\n",
sc->sc_wdcdev.sc_dev.dv_xname, i);
- else
+#endif
+ } else
rv = 1;
}
}