lkml.org 
[lkml]   [2003]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Firewire

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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.073 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site