Re: Firewire

Ben Collins
2003-07-25T04:08:05Z

> 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/