diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-09-15 17:58:26 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-09-15 17:58:26 +0000 |
commit | 6925ec5238a7a84f51ef7d1886dbadf6daa51466 (patch) | |
tree | c4de2f8925f71ac5cb56b942e47a2b2181773f22 | |
parent | e15c5aaed649b1001b751f5383b168df3db24bf8 (diff) |
Better debug printfs: missing \n and show xfer flags in
wdc_exec_xfer().
-rw-r--r-- | sys/dev/ic/wdc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index d19c26aec64..08d1d2ed7a5 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.83 2004/02/19 21:16:21 grange Exp $ */ +/* $OpenBSD: wdc.c,v 1.84 2004/09/15 17:58:25 grange Exp $ */ /* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */ @@ -1744,7 +1744,7 @@ wdc_exec_command(drvp, wdc_c) ret = WDC_COMPLETE; } else { if (wdc_c->flags & AT_WAIT) { - WDCDEBUG_PRINT(("wdc_exec_command sleeping"), + WDCDEBUG_PRINT(("wdc_exec_command sleeping\n"), DEBUG_FUNCS); while ((wdc_c->flags & AT_DONE) == 0) { @@ -2014,8 +2014,8 @@ wdc_exec_xfer(chp, xfer) struct channel_softc *chp; struct wdc_xfer *xfer; { - WDCDEBUG_PRINT(("wdc_exec_xfer %p channel %d drive %d\n", xfer, - chp->channel, xfer->drive), DEBUG_XFERS); + WDCDEBUG_PRINT(("wdc_exec_xfer %p flags 0x%x channel %d drive %d\n", + xfer, xfer->c_flags, chp->channel, xfer->drive), DEBUG_XFERS); /* complete xfer setup */ xfer->chp = chp; |