Hi Dave, do you think this bit is really needed?  Of course it
doesn't hurt and is safer, but I was wondering if you saw a
real need for it?

Duncan.

--- 1.40/drivers/usb/core/message.c     Sun Jan  4 11:46:27 2004
+++ edited/drivers/usb/core/message.c   Mon Jan 19 15:00:33 2004
@@ -1141,6 +1141,15 @@
                                 dev->bus->busnum, dev->devpath,
                                 configuration,
                                 desc->bInterfaceNumber);
+               }
+               /* Now that all interfaces are setup, any of them can be
+                * meaningfully accessed from the probe() call for another
+                */
+               for (i = 0; i < cp->desc.bNumInterfaces; ++i) {
+                       struct usb_interface *intf = cp->interface[i];
+                       struct usb_interface_descriptor *desc;
+
+                       desc = &intf->altsetting [0].desc;
                        dev_dbg (&dev->dev,
                                "registering %s (config #%d, interface %d)\n",
                                intf->dev.bus_id, configuration,


-------------------------------------------------------
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

Reply via email to