Hello all, I am writing a USB driver for a new architecture support. I have define a usb_driver structure with a probe function as field. But I am wondering when and how this function is called?
I have read on the book Linux Device Drivers 3rd edition (usb driver chapter) that this function "is called by the USB core when it thinks it has a struct usb_interface that this driver can handle". So I suppose that when a usb device is attached, the corresponding IRQ is received from the hardware, and something in the ISR should tell the USB core that the probe function needs to be called. Could someone clarify the procedure please? Thanks in advance for your help.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev