Skip to contentSkip to conversation

PCI-2-Cardbus bridge, Kernel PCMCIA services and Cardbus

BUG George Andre 1 participant 1 message Nov 11, 2002

lore
Share & tools
lore
#0 lore raw

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.