Fwd: Re: shared interrupts

Well it doesn't fail for me. However, I haven't traced through the code the 
code to figure out what exactly is happening as its not my application.  I'm 
not querying comedi directly but instead am using a package named RTXI

----------  Forwarded Message  ----------

Subject: Re: shared interrupts
Date: Mon, 23 Jan 2006 04:52 am
From: "Calin A. Culianu" <calin_at_ajvar.org>
To: Farhan Rizwi <farhan.rizwi_at_unswalumni.com>
Cc: comedi_at_comedi.org

I thought comedi wouldn't let you use a driver in RT if the interrupt is
shared?  It basically fails and prints a message to the kernel log to that
effect.

However, I am not sure why that decision was made.  It normally is
possible to share linux interrupts with RT interrupts if the drivers are
written in such a way so as to support pending the interrupt to linux when
it is not for them.  I just assume it's because the comedi drivers don't
support this pending feature.

On Fri, 20 Jan 2006, Farhan Rizwi wrote:
> Hi,
>
> Are shared interrupts bad for RT?  When executing comedi_config, my ni
> driver is assigned irq 5 which is shared with yenta plus some human
> interface stuff, it warns. However, my application RTXI runs just fine?
>
> Thanks for any info
>
> -Farhan
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

-------------------------------------------------------

Received on 2006-01-22Z22:45:36