Subject:
|
Patches for usb-ohci and legousbtower enclosed.
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 15 Oct 2002 04:14:19 GMT
|
Original-From:
|
P.C. Chan <pc.chan@alcatel+stopspammers+.com>
|
Viewed:
|
1097 times
|
| |
| |
This could be a duplicated mail.
--- usb-ohci.c.orig Mon Oct 14 23:13:36 2002
+++ usb-ohci.c Mon Oct 14 23:19:19 2002
@@ -486,6 +486,11 @@
usb_pipeout (urb->pipe)
? PCI_DMA_TODEVICE
: PCI_DMA_FROMDEVICE);
+ if (urb->interval == 0) {
+ urb_rm_priv (urb);
+ urb->complete (urb);
+ break;
+ }
urb->complete (urb);
/* implicitly requeued */
--- legousbtower.c.orig Mon Oct 14 23:23:20 2002
+++ legousbtower.c Mon Oct 14 23:25:01 2002
@@ -471,9 +471,9 @@
if (dev->interrupt_in_urb != NULL) {
usb_unlink_urb (dev->interrupt_in_urb);
}
- if (dev->interrupt_out_urb != NULL) {
+/* if (dev->interrupt_out_urb != NULL) {
usb_unlink_urb (dev->interrupt_out_urb);
- }
+ } */
exit:
dbg(2,__FUNCTION__ " leave");
This two extra patches on top of the existing patches would make
legousbtower work on hosts with ohci usb controllers.
Cheers,
P.C.
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|