Subject: Re: Forcing specific IRQ or address for PCI devices?
To: Peter Seebach <seebs@plethora.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 04/06/2003 19:33:22
On Sun, Apr 06, 2003 at 12:20:26PM -0500, Peter Seebach wrote:
> In message <20030406145042.GA902@antioche.eu.org>, Manuel Bouyer writes:
> >> FWIW, on this device, PCIBIOS_ADDR_FIXUP causes core dumps, because it gets
> >> a 0 for the address for at least one device.  I'm not wholly optimistic.  ;)
> 
> >Well, no, I don't think it ca work this way. We have to try on a working BIOS
> >for i386. For the kernel to do IRQ routing by itself there would be some
> >amout of code to write I guess.
> 
> Hmm.  My understanding is, on this device, the IRQ *is* already routed - we
> just don't seem to pick up on it correctly.  It's like my mom's laptop, where
> you need ACPI to *find* the interrupts.  They're there, they're configured
> correctly, but the BIOS doesn't report them correctly except in ACPI.  On this
> system, there's no ACPI, but there's a manual that says "the cardbus bridge
> uses IRQ 10".

Maybe you can try to force it in the pci code for this device then.
Just writing 10 to the PCI interrupt register before mapping the IRQ may
be enouth

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--