summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-10-14 03:34:10 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-10-14 03:34:10 +0000
commit7bb21effa448a7201adeea9244dcdf9aa9caf151 (patch)
tree153cbbee7978620de0b3926c89fddbf00a506215 /sys/dev/pci
parent3c1d92b2618cc7576b49aa2f63b6797bded85707 (diff)
only print warning message in bge_stop_block() if debug is enabled.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_bge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 357facfabcc..ac26f4bcffe 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.89 2005/10/14 03:29:12 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.90 2005/10/14 03:34:09 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -3215,8 +3215,8 @@ bge_stop_block(struct bge_softc *sc, bus_addr_t reg, uint32_t bit)
delay(100);
}
- printf("%s: block failed to stop: reg 0x%lx, bit 0x%08x\n",
- sc->bge_dev.dv_xname, (u_long) reg, bit);
+ DPRINTFN(5, ("%s: block failed to stop: reg 0x%lx, bit 0x%08x\n",
+ sc->bge_dev.dv_xname, (u_long) reg, bit));
}
/*