Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic added wmesg argument to pcic_delay debug printout



details:   https://anonhg.NetBSD.org/src/rev/3221d3120921
branches:  trunk
changeset: 482774:3221d3120921
user:      dbj <dbj%NetBSD.org@localhost>
date:      Mon Feb 21 20:16:22 2000 +0000

description:
added wmesg argument to pcic_delay debug printout

diffstat:

 sys/dev/ic/i82365.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 11b443d9e1cc -r 3221d3120921 sys/dev/ic/i82365.c
--- a/sys/dev/ic/i82365.c       Mon Feb 21 20:06:08 2000 +0000
+++ b/sys/dev/ic/i82365.c       Mon Feb 21 20:16:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365.c,v 1.47 2000/02/10 09:00:19 chopps Exp $       */
+/*     $NetBSD: i82365.c,v 1.48 2000/02/21 20:16:22 dbj Exp $  */
 
 #define        PCICDEBUG
 
@@ -1324,7 +1324,8 @@
                panic("pcic_delay");
        }
 #endif
-       DPRINTF(("pcic_delay: %p, sleep %d ms\n", h->event_thread, timo));
+       DPRINTF(("pcic_delay: \"%s\" %p, sleep %d ms\n",
+                wmesg, h->event_thread, timo));
        tsleep(pcic_delay, PWAIT, wmesg, roundup(timo * hz, 1000) / 1000);
 }
 



Home | Main Index | Thread Index | Old Index