summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-19 01:25:22 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-19 01:25:22 +0000
commit74b303ce7311fbd7a015500771923ea17b1f1cf5 (patch)
treecf18e41cb580f214fad45051a1cdfe72b32232d6 /sys/dev
parent186feab0cffd054d1d28d80cc65493406d769213 (diff)
fix a debugging printf on cmd wait timeout
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/i82596.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/i82596.c b/sys/dev/ic/i82596.c
index e83e0e89eb0..140a7483d51 100644
--- a/sys/dev/ic/i82596.c
+++ b/sys/dev/ic/i82596.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82596.c,v 1.17 2002/12/11 19:35:51 mickey Exp $ */
+/* $OpenBSD: i82596.c,v 1.18 2002/12/19 01:25:21 mickey Exp $ */
/* $NetBSD: i82586.c,v 1.18 1998/08/15 04:42:42 mycroft Exp $ */
/*-
@@ -359,10 +359,10 @@ i82596_cmd_wait(sc)
bus_space_barrier(sc->bt, sc->bh, off, 2,
BUS_SPACE_BARRIER_READ);
if ((sc->ie_bus_read16)(sc, off) == 0) {
-#ifdef I82596_DEBUG1
+#ifdef I82596_DEBUG
if (sc->sc_debug & IED_CMDS)
printf("%s: cmd_wait after %d usec\n",
- sc->sc_dev.dv_xname, (90000 - i) * 10);
+ sc->sc_dev.dv_xname, (180000 - i) * 5);
#endif
return (0);
}