Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: 2.6.14 patch to make orinoco_usb.c work: msg#00010

Subject: Re: 2.6.14 patch to make orinoco_usb.c work
Hello,

PR> Elimination of URB_ASYNC_UNLINK could be done separately, possibly with
PR> other compatibility leftovers.

All unlinks with usb_unlink_urb() are now asynchronous, so are these
lines:

< #ifndef URB_ASYNC_UNLINK
< #define URB_ASYNC_UNLINK 0
< #endif

and:

< ctx->outurb->transfer_flags |= URB_ASYNC_UNLINK;

now useful for something?

PR> I think the right criteria would be to replace usb_unlink_urb() with
PR> usb_kill_urb() when it's not preceded by setting URB_ASYNC_UNLINK.  The
PR> only replacement in this case would be in ezusb_remove_in_urb().

Yes, synchronous ulniks will be done by usb_kill_urb(), and
asynchronous by usb_unlink_urb().

-- 
Bye,
 TB                            
mailto:tomasz.bujlow-DVq+YeWbj7f10XsdtD+oqA@xxxxxxxxxxxxxxxx

The Bat! v3.62.14, Windows XP 5.1, Build 2600, Service Pack 2



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click


<Prev in Thread] Current Thread [Next in Thread>