> > > Well, since 0 is not an illegal value as specified in the USB spec, I > > > think we should do this check in the usb_submit_urb() call, not force it > > > to be duplicated in all host drivers. > > > > In fact there are a lot of checks in the hcd framework > > already -- hcd.c has hcd_submit_urb() checking quite > > a lot more than that. In 2.5 I'd expect that to be the > > place such common code lands. > > As much as I want everyone to adapt and rewrite their host controller > drivers to use the hcd.c interface, I don't see that happening just yet.
Right, we still have one-too-many UHCIs too... > There are lots of different arch specific host controller drivers > floating around that will probably never get merged into the main tree > (despite my best efforts in pestering those developers...) Yeah, that's one reason merging more of that framework to the "struct usb_bus" code is on my agenda. There may be some limits to how much can be done. > And then there's the cris host controller driver :) Does that even compile yet? :) - Dave _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel