Subject: Re: PCI interrupt pins and i386mp
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-smp
Date: 01/07/2002 10:32:46
On Mon, Jan 07, 2002 at 07:17:48PM +0100, Matthias Drochner wrote:

 > There was a little problem with the interrupt routing on secondary
 > PCI busses: the "pa_intrpin" member isn't what the name implies
 > but refers to a (virtual) slot where the interrupt meets PCI
 > bus #0 (which it doesn't do in the general case, so the design is
 > a bit flawed, but appears to be sufficient for current hardware...).
 > Anyway, the MPBIOS entries refer to "real" interrupt pins, and the
 > appended patch fixes this in a least-intrusive way.

My thoughts on there were to add a bit to the pcibus_attach_args flags
that would indicate "no, bus really is a primary, even if the bus number
is not 0".  That should also solve your problem.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>