No, I didn't use SA_INTERRUPT.  I don't see the necessity of masking 
interrupts.  We can use spin_lock to protect critical regions.

Best Regards,
Leo


> -----Original Message-----
> From: Sujith Sankar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 27, 2006 5:02 PM
> To: Li Yang-r58472
> Cc: linux usb devel
> Subject: Re: [linux-usb-devel] USB OTG ISR Registration
> 
> If shared handlers were used, how did you mask the interrupts while servicing?
> 
> If SA_SHIRQ is used, isn't it the responsibility of ISR to mask the
> interrupts at the starting, service the received interrupt and unmask
> the interrupts before returning?
> 
> Or were you using SA_SHIRQ | SA_INTERRUPT?
> If that is the case, Linux would do the masking, rt?
> 
> -suj
> 
> On 27/04/06, Li Yang-r58472 <[EMAIL PROTECTED]> wrote:
> > Actually we had done a driver for ARC OTG controller, which is still not 
> > very
> stable.  We used shared interrupt handlers.
> >
> > Best Regards,
> > Leo
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Sujith
> > > Sankar
> > > Sent: Thursday, April 27, 2006 4:47 PM
> > > To: linux usb devel
> > > Subject: [linux-usb-devel] USB OTG ISR Registration
> > >
> > > 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?
> > >
> > > Pls let me know your thoughts.
> > >
> > > Thanks,
> > > Suj
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> >


-------------------------------------------------------
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