summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-12-19 15:49:11 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-12-19 15:49:11 +0000
commitc60e1a0557ce74cfa5d973f81ab974cd562d976f (patch)
tree0f643f4f941bc1be3eba3bcaad33bcb04e8bd1db /sys
parentd5f945e52d030ab0320afd5dc14edee215b8c5c5 (diff)
Be not too verbose else the debug output would stall a box if the wrong
mode is selected. Default debug output in the interrupt handler is not very clever -- even if it is not compiled in by default.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/musycc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/musycc.c b/sys/dev/pci/musycc.c
index 175e711a21b..b8751fbea91 100644
--- a/sys/dev/pci/musycc.c
+++ b/sys/dev/pci/musycc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: musycc.c,v 1.9 2005/10/26 09:26:56 claudio Exp $ */
+/* $OpenBSD: musycc.c,v 1.10 2005/12/19 15:49:10 claudio Exp $ */
/*
* Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland
@@ -1190,7 +1190,7 @@ musycc_rxeom(struct musycc_group *mg, int channel, int forcekick)
*/
if (rxstat & MUSYCC_STATUS_ERROR) {
ifp->if_ierrors++;
- ACCOOM_PRINTF(0, ("%s: rx error %08x\n",
+ ACCOOM_PRINTF(1, ("%s: rx error %08x\n",
ifp->if_xname, rxstat));
musycc_newbuf(mg, cur_rx, m);
cur_rx = cur_rx->nextdesc;
@@ -1433,6 +1433,9 @@ musycc_intr(void *arg)
musycc_rxeom(mg, chan, 1);
}
break;
+ case MUSYCC_INTERR_OOF:
+ /* ignore */
+ break;
default:
ACCOOM_PRINTF(0, ("%s: unhandled error: %s\n",
mc->mc_dev.dv_xname,