Am Sonntag, 4. Juni 2006 20:22 schrieb John Que: > Hello Oliver, > > I am sorry, but I think I don't understand , > You said: > >A USB driver never will request an irq. Interrupt handling is done in > > the core usb layer. Individual drivers have no business there. > > but in the zd1211 driver (not the rewrite version) I found this > call to request an irq: > request_irq(dev->irq, &zd1205_intr, SA_SHIRQ, dev->name, dev) > > Also when looking in the linux tree, I see some request_irq() calls in USB > drivers, for exmaple in some drivers under usb/gadgaets, and more. > > Can you please elaborate a bit ? What do you mean by saying > "A USB driver never will request an irq"?
The architecture is as follows: device driver <---> USB core <---> host driver <=== USB ===> gadget driver <---> function driver Only those drivers that deal with the hardware directly request interrupts. A device driver submits URBs and deals with callbacks. Regards Oliver - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html