From c60e1a0557ce74cfa5d973f81ab974cd562d976f Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 19 Dec 2005 15:49:11 +0000 Subject: 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. --- sys/dev/pci/musycc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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, -- cgit v1.2.3