Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ieee1394 Print the tcode in hex when debugging like ...
details: https://anonhg.NetBSD.org/src/rev/2542393eeaea
branches: trunk
changeset: 522390:2542393eeaea
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Feb 18 09:10:44 2002 +0000
description:
Print the tcode in hex when debugging like all other debug statements
diffstat:
sys/dev/ieee1394/fwohci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r f15b51bf1cd9 -r 2542393eeaea sys/dev/ieee1394/fwohci.c
--- a/sys/dev/ieee1394/fwohci.c Mon Feb 18 09:06:51 2002 +0000
+++ b/sys/dev/ieee1394/fwohci.c Mon Feb 18 09:10:44 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fwohci.c,v 1.51 2002/02/03 07:24:48 jmc Exp $ */
+/* $NetBSD: fwohci.c,v 1.52 2002/02/18 09:10:44 jmc Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.51 2002/02/03 07:24:48 jmc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.52 2002/02/18 09:10:44 jmc Exp $");
#define DOUBLEBUF 1
#define NO_THREAD 1
@@ -1760,8 +1760,8 @@
while (fwohci_buf_input_ppb(sc, fc, &pkt)) {
chan = (pkt.fp_hdr[0] & 0x00003f00) >> 8;
tag = (pkt.fp_hdr[0] & 0x0000c000) >> 14;
- DPRINTFN(1, ("fwohci_ir_input: hdr 0x%08x, tcode %d, hlen %d, "
- "dlen %d\n", pkt.fp_hdr[0], pkt.fp_tcode, pkt.fp_hlen,
+ DPRINTFN(1, ("fwohci_ir_input: hdr 0x%08x, tcode 0x%0x, hlen %d"
+ ", dlen %d\n", pkt.fp_hdr[0], pkt.fp_tcode, pkt.fp_hlen,
pkt.fp_dlen));
if (tag == IEEE1394_TAG_GASP) {
/*
Home |
Main Index |
Thread Index |
Old Index