Re: PCI init issues

David S. Miller
2003-03-03T15:04:04Z

On Mon, 2003-03-03 at 04:14, Ivan Kokshaysky wrote:
> > Q2: Should we really be dependent on bios this bad?
>
> We certainly shouldn't wrt PCI IO and MMIO allocations, but irq routing
> appears to be so horribly overcomplexed on x86 that dependence on
> BIOS seems almost unavoidable here...
> Other architectures don't have such kind of problems, BTW.

Actually, for issues like that one Jamal is pointing out, I believe
there is something we can do.

What varies so much from motherboard to motherboard on x86 is how
the interrupts are wired up. So for example, this tells us that
PCI slot X maps to x86 IRQ Y. If we know that, we can figure out
where his deeply bridged tulips will send IRQs.

If the mp tables don't give exactly this kind of information,
then Ivan is right :(

Anyone know if FreeBSD fares better in situations like this?
What do they do if so?