Re: Firewire

From: Ben Collins (bcollins@debian.org)
Date: Fri Jul 25 2003 - 08:34:51 EST


Index: ieee1394_core.c
===================================================================
--- ieee1394_core.c (revision 1013)
+++ ieee1394_core.c (working copy)
@@ -421,11 +421,13 @@
 
         if (packet->no_waiter) {
                 /* must not have a tlabel allocated */
+ HPSB_DEBUG("TLABEL: no_waiter, returning");
                 free_hpsb_packet(packet);
                 return;
         }
 
         if (ackcode != ACK_PENDING || !packet->expect_response) {
+ HPSB_DEBUG("TLABEL: not pending or no response expected, returning");
                 packet->state = hpsb_complete;
                 up(&packet->state_change);
                 up(&packet->state_change);
@@ -437,6 +439,7 @@
         packet->sendtime = jiffies;
 
         spin_lock_irqsave(&host->pending_pkt_lock, flags);
+ HPSB_DEBUG("TLABEL: appending packet to pending list");
         list_add_tail(&packet->list, &host->pending_packets);
         spin_unlock_irqrestore(&host->pending_pkt_lock, flags);
 

-- 
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:25 EST