Re: Firewire

From: Ben Collins (bcollins@debian.org)
Date: Thu Jul 24 2003 - 23:12:34 EST


> For what it's worth, I'm experiencing this as well.
> In the hopes of helping, I provide the dmesg
> output results after applying the above patch to Rev 1013.
> (Running 2.6.0-test1-ac1).

Please compile with debug enabled so I can get all the output. Also,
update using this patch instead of my last one.

Index: linux-2.6/drivers/ieee1394/ieee1394_core.c
===================================================================
--- linux-2.6/drivers/ieee1394/ieee1394_core.c (revision 1013)
+++ linux-2.6/drivers/ieee1394/ieee1394_core.c (working copy)
@@ -609,8 +609,11 @@
 
         spin_lock_irqsave(&host->pending_pkt_lock, flags);
 
+ HPSB_DEBUG("TLABEL: Checking for tlabel %d", tlabel);
+
         list_for_each(lh, &host->pending_packets) {
                 packet = list_entry(lh, struct hpsb_packet, list);
+ HPSB_DEBUG("TLABEL: tlabel %d in list", packet->tlabel, tlabel);
                 if ((packet->tlabel == tlabel)
                     && (packet->node_id == (data[1] >> 16))){
                         break;
@@ -622,7 +625,8 @@
                 dump_packet("contents:", data, 16);
                 spin_unlock_irqrestore(&host->pending_pkt_lock, flags);
                 return;
- }
+ } else
+ HPSB_DEBUG("TLABEL: Found tlabel");
 
         switch (packet->tcode) {
         case TCODE_WRITEQ:

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:24 EST