Re: PCI init issues

David S. Miller (davem@redhat.com)
03 Mar 2003 08:01:15 -0800


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?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/