Re: Firewire

Ben Collins
2003-07-25T13:30:58Z

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/