From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Subject: Re: AlphaBIOS Utility programs?
Date: Thu, 12 Nov 1998 13:18:40 -0500 [thread overview]
Message-ID: <199811121818.NAA01086@linux03.hlo.dec.com> (raw)
In-Reply-To: Your message of Wed, 11 Nov 1998 10:06:01 +0100. <E0zdXA1-0003y1-00@fountain.nexus.co.uk>
>>> philb@gnu.org said:
>
> How IRQs are handled in a PCI system is left up to the discretion of the
> board designer to quite a large extent. Each PCI *slot* has four IRQ pins
> (INTA..INTD) but the bus itself doesn't enforce any IRQ policy. Usually the
> way things work is that there are four IRQ lines on the bus itself and the
> INT lines from each slot attach to this in a rotating arrangement (which
> means that with up to four devices each using only one interrupt, each one
> will get a different line). But it would be equally valid for all four INT
> pins from every slot to be just connected to a single interrupt line, or for
> every INT pin to have its own input into the system IRQ controller, or any
> other combination you could think of.
On most Alphas, especially the newer ones, it is the case that all slots
on the *primary* PCI bus have 4 independent IRQ inputs to the IRQ controller.
Note that I mean here "option" slots, ie where a PCI card can be installed,
rather than a builtin device, which is normally hardwired to a single IRQ.
> When a PCI/PCI bridge is involved, especially on an add-in card, yes it
> usually combines however many IRQ inputs it accepts from the devices behind
> it and just presents a single interrupt request to the primary bus.
PCI boards I've seen which use the DEC PCI-PCI bridges (2105x, 2115x)
usually present 4 IRQs (one for each of INTA...INTD in the slot in which the
bridge appears). In addition, there is an "IRQ swizzle" for devices which
appear behind the bridge, such that if you have multiple devices all saying
they want INTA, they'll actually come through the bridge wanting separate
IRQs (the INTA... INTD of the bridge's slot) so that sharing isn't needed.
More details can be found in the bridge chip docs, found now via the
intel.com website... ;-}
> But if
> the bridge was integrated directly onto the motherboard this might not be
> the case - the interrupts could just go round the side of the bridge and
> straight in to the IRQ controller.
Yes, this also is true of the Alpha platforms with builtin bridges, like
MIATA, NORITAKE (true 1000A), RUFFIAN/UX, and MONET.
For more details, examine the arch/alpha/kernel/bios32.c code in the area
of "layout_dev()" and any of the "xxx_fixup()" routines... ;-}
--Jay++
-----------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-----------------------------------------------------------------------------
next prev parent reply other threads:[~1998-11-12 18:18 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199811092256.OAA08927@icarus.com>
1998-11-09 23:48 ` AlphaBIOS Utility programs? Wes Bauske
1998-11-10 1:59 ` Stephen Williams
1998-11-10 5:02 ` Wes Bauske
1998-11-10 16:29 ` Stephen Williams
1998-11-10 22:00 ` Philip Blundell
1998-11-11 2:34 ` Wes Bauske
1998-11-11 9:06 ` philb
1998-11-11 10:25 ` Stefan Boresch
1998-11-11 18:48 ` Wes Bauske
1998-11-12 18:00 ` Jay.Estabrook
1998-11-13 0:53 ` Alpha performance/cost numbers? Chris Albertson
1998-11-13 1:06 ` Bob McElrath
1998-11-16 21:05 ` Chris Albertson
1998-11-16 21:46 ` Greg Lindahl
1998-11-16 23:05 ` Maurice Hilarius
1998-11-17 14:42 ` module pd.o in multia A. Rodriguez-Gonzalez
1998-11-16 21:56 ` Alpha performance/cost numbers? Maurice Hilarius
1998-11-13 1:24 ` Maurice Hilarius
1998-11-13 7:45 ` Gerhard Schneider
1998-11-11 17:36 ` AlphaBIOS Utility programs? Stephen Williams
1998-11-12 18:18 ` Jay.Estabrook [this message]
1998-11-09 11:37 Stefan Boresch
1998-11-09 12:32 ` Stefan Boresch
1998-11-09 19:26 ` Wes Bauske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox