On Tue, 20 Jan 2004, David Brownell wrote: > Dimitri Torfs wrote: > > > > I ask this question because there are places in the code where this > > requirement clearly is not met. Is it because people are not aware > > of this requirement or because they expect that cache-effects will > > not come into play ... (or because they don't run on a > > cache-incoherent platform) ? > > I think it's partly because because folk haven't submitted patches > to fix this, or at least ones that got merged. (I recall some PPC > patches at some point.) > > It's possible that the device descriptor issue is the main one > left in usbcore. I know I commented two instances of that bug > in my recent enumeration/reset patches ... I'd suggest fixing > it by getting rid of usb_get_device_descriptor() and just having > hub_port_init() kmalloc a temp buf.
Taking care of usb_get_device_descriptor() is #1 on my list of changes. BTW, it's also used in usb_register_root_hub() in hcd.c -- although that spot doesn't have any alignment requirements. Alan Stern ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel