On Friday 21 April 2006 1:57 am, Jan Veldeman wrote:
> In some cases the irq may not be requested by usb_add_hcd.  E.g. the
> interrupt is shared among different parts of the same driver, and by
> having only 1 handler which calls the others, helps in making the
> driver cleaner.
> 
> By exporting usb_hcd_irq, the driver can call the irq handler at the
> correct time, without duplicating any code (otherwise, the
> functionality of ush_hcd_irq had to be duplicated).

Sure, but zero is a perfectly valid IRQ number so you should
trigger this behavior on something better, like being negative.

- Dave



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to