Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ieee1394 Add additional debugging for fwohci_arrq_in...



details:   https://anonhg.NetBSD.org/src/rev/7e3db0784b20
branches:  trunk
changeset: 540570:7e3db0784b20
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Dec 19 02:15:31 2002 +0000

description:
Add additional debugging for fwohci_arrq_input: no listener conditions

diffstat:

 sys/dev/ieee1394/fwohci.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 31104c84745f -r 7e3db0784b20 sys/dev/ieee1394/fwohci.c
--- a/sys/dev/ieee1394/fwohci.c Wed Dec 18 23:13:02 2002 +0000
+++ b/sys/dev/ieee1394/fwohci.c Thu Dec 19 02:15:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fwohci.c,v 1.67 2002/12/13 07:47:52 jmc Exp $  */
+/*     $NetBSD: fwohci.c,v 1.68 2002/12/19 02:15:31 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.67 2002/12/13 07:47:52 jmc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.68 2002/12/19 02:15:31 jmc Exp $");
 
 #define FWOHCI_WAIT_DEBUG 1
 
@@ -2197,6 +2197,10 @@
                        DPRINTFN(1, ("fwohci_arrq_input: no listener: tcode "
                            "0x%x, addr=0x%04x %08x\n", pkt.fp_tcode, key1,
                            key2));
+                       DPRINTFN(2, ("fwohci_arrq_input: no listener: hdr[0]: "
+                           "0x%08x, hdr[1]: 0x%08x,  hdr[2]: 0x%08x, hdr[3]: "
+                           "0x%08x\n",  pkt.fp_hdr[0],  pkt.fp_hdr[1],
+                            pkt.fp_hdr[2],  pkt.fp_hdr[3]));
                }
                if (((*pkt.fp_trail & 0x001f0000) >> 16) !=
                    OHCI_CTXCTL_EVENT_ACK_PENDING)



Home | Main Index | Thread Index | Old Index