> > usb_driver_claim_interface(&my_driver, usbdev->config->iface + 0, null);
> > usb_driver_claim_interface(&mm_driver, usbdev->config->iface + 1, null);
> > usb_driver_claim_interface(&my_driver, usbdev->config->iface + 2, null);
>
> It's okay to claim the other two interfaces, but you shouldn't try to
> claim the interface being probed.  That interface will automatically be
> assigned to your driver when the probe function returns.

Hi Alan, I think it would be better if you could claim the interface being probed.
People are sure to make the above mistake because it is very natural to write
that code.  I don't think we should forbid it.  The core changes needed are not
so great.

All the best,

Duncan.


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