Re: RTAI-COMEDI problems

On Fri, 26 Jul 2002, David Schleef wrote:

> On Fri, Jul 26, 2002 at 12:44:33PM -0500, frank mori hess wrote:
> > Now that you mention it, it seems like we could tweak a few lines so that
> > comedi allows sharing of RT irqs between devices that are all supported
> > by comedi (such as came up when Ivan had a couple pcidas-1200 cards
> > sharing an interurpt), since comedi could set them all to RT priority
> > together.
>
> Or just allow the user to disable the check.  As I may have mentioned
> before, this check fails on my PowerBook, since a PCMCIA card shares an
> interrupt with the PCMCIA controller, which only gets an interrupt
> when a card is inserted/removed.  And since there's only one slot,
> there's never a conflict that doesn't have more serious implications.
>

One bug I see right now with the RT version of comedi_request_irq is
that shared irqs will overwrite each other in the comedi_irqs[] array,
since it is indexed by irq.  It looks like comedi_irqs[] will have to be
changed into a linked list?

Frank

Received on 2002-07-26Z20:35:59