[BUG] PCI-2-Cardbus bridge, Kernel PCMCIA services and Cardbus

George Andre (george.andre@intelligraphics.com)
Mon, 11 Nov 2002 17:29:11 +0100


Hi people,

I have a strange problem with virtually all 2.4 kernels,
(tried 2.4.18 to 2.4.20-rc1). I'm developing a driver
for a wireless card for our customer. Since it's a Cardbus
wireless card and my dev machine is a desktop, I'm using
a Ricoh 5c475 based PCI-2-Cardbus bridge.

My problem is that the yenta_socket.o driver (or pcmcia_core.o)
indeed create Cardbus bus with my device on it, but the BAR's
are all messed up. I get negative len ranges on the MMIO addresses
(0xE7010000 - 0xE7003FFF).

I'm not sure this is a problem in the Kernel PCMCIA drivers, because
even with them not loaded, the Ricoh device (Cardbus bridge) contains
weird bridge resources (offset 0x1C and forward in the PCI
config space headertype 0x02). This doesn't happen only with my
customers wireless card, but with one another different vendors wireless
card too.

I've even tried Alan Cox' 2.4.20-pre10-ac2 patch with no success.

Anyone seen this before and know where I might throw my search lights ?

Thanks,
George.

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