On Thursday 27 April 2006 1:47 am, Sujith Sankar wrote:
> Hi All,
> 
> Our team is implementing a USB OTG Controller Driver in Linux for ARC
> controller.  The transceiver and OTG controller are integrated.
> 
> We have the following doubt.
> 
> 1.)  The implementation involves three modules viz EHCI driver, UDC
> driver and OTG Controller driver.  Shouldn't the ISR's of these three
> modules be registered as shared interrupts since the three use the
> same controller?

If they're completely independent drivers that just happen to have the
same value going into request_irq(), yes ... use SA_SHIRQ.   Cores
using ARC's stuff have EHCI (yes?), which is already a separate driver,
so that would imply you should do so.

More integrated silicion wouldn't work that way; it'd be more natural
to have a single IRQ, dispatching to role-specific code as appropriate.

- 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
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to