Re: Handling of bogus PCI bus numbering

Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Sat, 2 Mar 2002 16:15:16 +0100 (CET)


On Sat, 2 Mar 2002, Stephen Mollett wrote:

> I've got an IBM Thinkpad 240 and the BIOS incorrectly assigns bus number 0 to
> the CardBus (obviously, bus 0 is the primary internal PCI bus). Because of
> this, it's impossible to use CardBus devices - when one is inserted, its
> device number (00:00.0) collides with the 82443BX Northbridge and Card
> Services understandably gets rather confused, thinking I've just plugged in a
> 440BX chip... ahem.

Could you replace "#undef DEBUG" with "#define DEBUG" in drivers/pci/pci.c
and arch/i386/kernel/pci-i386.h, rebuild the kernel and send "dmesg"
output after rebooting/inserting the card?

--Kai

-
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/