Om....what do you mean of "ISR lowered the interrupt"?

On Mon, Dec 15, 2008 at 8:58 AM, Asim <[email protected]> wrote:

> Thanks Greg for your reply.
>
> I just want to know if the ISR lowered the interrupt atleast once
> after entering the ISR. I want to find this out without reading the
> device's register. I realize the problem that there still may be a
> pending interrupt when I do this check which can cause some problems.
>
> I have a custom device which does not respond properly, if there is an
> interface for this it would help me grately since I have no control to
> change the device.
>
> Regards,
> Asim
>
> On 12/13/08, Greg KH <[email protected]> wrote:
> > On Sat, Dec 13, 2008 at 11:29:05AM -0600, Asim wrote:
> >> Hi,
> >>
> >> Is there any kernel routine to check if there are no pending
> >> interrupts, give an IRQ number ?
> >
> > Nope, because who is to say an interrupt doesn't happen right after the
> > function returns?  :)
> >
> > What are you trying to do?  Just register an interrupt handler properly
> > and you should be fine, don't try to test for anything yourself.
> >
> > thanks,
> >
> > greg k-h
> >
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>


-- 
National Research Center for Intelligent Computing Systems
Institute of Computing Technology, Chinese Academy of Sciences

Reply via email to