2004-03-12 08:18:56

by Guennadi Liakhovetski

[permalink] [raw]
Subject: CardBus 16-bit IO on 32-bit-IO platforms

Hello all

I am trying to get CardBus to work on a PXA-based platform (kernel
2.4.21 so far). CardBus cards seem to work (at least one of them - a
USB2.0 card), however, I have problems getting 16-bit PCMCIA cards to
work.

I specified an IO-range from the statically mapped PCI IO-range in
/etc/pcmcia/config.opts, fixed a couple of hard-coded 16-bit assumptions
in yenta-driver and arount it, this IO-range gets successfully allocated,
then it comes to the point of writing these addresses to the CardBus
controller's configuration registers, and they are 16-bit... And then it
doesn't work.

So, my question to all, having experience running CardBus on platforms,
where IO doesn't lie in the first 64K - how is that done?

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany