[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac. (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac. (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Mon, 18 Jun 2001 10:21:19 +0200 (CEST)
>From owner-rtl Mon Jun 18 02:18:52 2001
Received: from mail.cc.kuleuven.ac.be (mail.cc.kuleuven.ac.be [134.58.10.6])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f5I8Ipe18499
for <rtl@fsmlabs.com>; Mon, 18 Jun 2001 02:18:51 -0600
Received: from bolleke.mech.kuleuven.ac.be (bolleke.mech.kuleuven.ac.be [134.58.24.48])
by mail.cc.kuleuven.ac.be (8.9.3/8.9.0) with ESMTP id KAA351296
for <rtl@fsmlabs.com>; Mon, 18 Jun 2001 10:12:43 +0200
Received: from pc25-213.mech.kuleuven.ac.be (IDENT:bruyninc@pc25-213.mech.kuleuven.ac.be [134.58.25.213])
by bolleke.mech.kuleuven.ac.be (8.9.3/8.9.3) with ESMTP id KAA26772
for <rtl@fsmlabs.com>; Mon, 18 Jun 2001 10:12:42 +0200 (METDST)
Date: Mon, 18 Jun 2001 10:12:42 +0200 (CEST)
From: Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
X-X-Sender: <bruyninc@pc25-213.mech.kuleuven.ac.be>
Reply-To: Herman Bruyninckx <herman.bruyninckx@mech.kuleuven.ac.be>
To: <rtl@fsmlabs.com>
Subject: Re: [rtl] off-topic: PCI interrupts
In-Reply-To: <3B2D1B78.A78DA981@pacifier.com>
Message-ID: <Pine.LNX.4.33.0106181009330.15223-100000@pc25-213.mech.kuleuven.ac.be>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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?
Are other buses better in this respect?
Herman
----- End of forwarded message from owner-rtl@fsmlabs.com -----