When looking at the documentation about USB probe functions in
Documentation/DocBook/writing_usb_driver.tmpl it seems that the
programlisting containing the skel_probe call has been updated to the
2.5 kernel probe callback API but the text above it has not been updated:
---------
<title>Device operation</title>
<para>
When a device is plugged into the USB bus that matches the device ID
pattern that your driver registered with the USB core, the probe function
is called. The usb_device structure, interface number and the interface ID
are passed to the function:
</para>
<programlisting>
static int skel_probe(struct usb_interface *interface,
const struct usb_device_id *id)
</programlisting>
---------
Am I correct in thinking that skel_probe will be called one time for
each interface available on a suitable device which is plugged in?
/Andreas
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html