Here's a patch to finish completions in the order they occur. This
brings uhci.c in line with the other HCDs and what people generally
would expect.
JE
# This is a BitKeeper generated patch for the following project:
# Project Name: greg k-h's linux 2.4 USB kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.817 -> 1.818
# drivers/usb/host/uhci.c 1.61 -> 1.62
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/12 [EMAIL PROTECTED] 1.818
# uhci.c:
# Make sure we return completions in the order they occur
# --------------------------------------------
#
diff -Nru a/drivers/usb/host/uhci.c b/drivers/usb/host/uhci.c
--- a/drivers/usb/host/uhci.c Wed Mar 12 07:35:56 2003
+++ b/drivers/usb/host/uhci.c Wed Mar 12 07:35:56 2003
@@ -155,7 +155,7 @@
unsigned long flags;
spin_lock_irqsave(&uhci->complete_list_lock, flags);
- list_add(&urbp->complete_list, &uhci->complete_list);
+ list_add_tail(&urbp->complete_list, &uhci->complete_list);
spin_unlock_irqrestore(&uhci->complete_list_lock, flags);
}
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel