On Mon, Jun 18, 2001 at 10:12:42AM +0200, Herman Bruyninckx wrote:
> On Sun, 17 Jun 2001, Wayne E. Van Loon Sr. wrote:
>
> [...]
> > > > IMHO, nothing off topic about your question. In my experience, there are
> > > > 4 interrupts available to the PCI bus in PCs. If you have 5 or more PCI
> > > > slots, then at least two slots have to share the same interrupt.
> > > >
> > > Deos this mean that you have to include code in _any_ device driver
> > > you write that checks whether the interrupt was really for that device
> > > drive?
> [...]
> > I think I sent you my rtl process / driver for the bt 878 and that is the way
> > that driver works. I have 4 ea. bt878 devices in my systems and some of my
> > devices always share the same interrupt. In my driver / rtl process, I check
> > to see which device caused the interrupt. It may be that two devices will
> > have caused the same interrupt by the time that the handler runs and the
> > driver / rtl process will want to handle both on the same interrupt.
>
> That means that no device driver code is portable, because you
> can't know in advance which other devices got the same interrupt
> assigned to them...? I mean: your driver code can only check the
> boards it was written for, so what do you do if your ISR is called by
> the interrupt but the interrupt is not for your boards?
It would certainly be possible to reach down to Linux and make that data available to
the RT side.
>
> Are other buses better in this respect?
Some systems have multiple PCI buses now.
>
> Herman
>
> ----- End of forwarded message from [EMAIL PROTECTED] -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/