On Wednesday 19 January 2005 7:42 am, Pete Zaitcev wrote: > Relying on pipe makes > tests dependant on URB only. No references to bus or HCD, therefore no > extra refcounts or worries about oopses. Also, HC drivers zero out the > urb->dev in giveback sequence which is a royal pain when trying to identify > a root hub.
That was a 2.4-ism, it should now be gone. So an inlined function to test whether urb->dev is the root hub should suffice; I know there's code that does that already. - Dave ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel