From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3697 invoked from network); 12 Nov 1998 18:18:02 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 12 Nov 1998 18:18:02 -0000 Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA23559 for ; Thu, 12 Nov 1998 13:18:01 -0500 Received: from tparch.tay1.dec.com (tparch.tay1.dec.com [16.119.0.10]) by mail11.digital.com (8.9.1a/8.9.1/WV2.0a) with SMTP id NAA13189 for ; Thu, 12 Nov 1998 13:18:00 -0500 (EST) Received: from ives.amt.tay1.dec.com by tparch.tay1.dec.com (5.65/MS-010395) id AA00728; Thu, 12 Nov 1998 13:19:59 -0500 Received: from linux03.hlo.dec.com by ives.amt.tay1.dec.com; (5.65v3.2/1.1.7.2/05Oct95-1258PM) id AA26338; Thu, 12 Nov 1998 13:17:58 -0500 Received: from linux03 (jestabro@localhost [127.0.0.1]) by linux03.hlo.dec.com (8.8.7/8.8.7) with ESMTP id NAA01086 for ; Thu, 12 Nov 1998 13:18:40 -0500 Message-Id: <199811121818.NAA01086@linux03.hlo.dec.com> X-Mailer: exmh version 2.0zeta 7/24/97 X-Exmh-Isig-Comptype: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: AlphaBIOS Utility programs? In-Reply-To: Your message of Wed, 11 Nov 1998 10:06:01 +0100. Mime-Version: 1.0 Content-Type: text/plain Date: Thu, 12 Nov 1998 13:18:40 -0500 Sender: jestabro@amt.tay1.dec.com >>> 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 -----------------------------------------------------------------------------