On Thu, 2002-03-21 at 09:17, Steven J. Hill wrote:
> Pete Popov wrote:
> > Has anyone gotten a pci-pcmcia adapter card to work with any 16 bit
> > pcmcia card in it on mips linux?
> Your first priority should be to look at the main PCMCIA page for
> Linux and find a PCI adapter that has a supported chipset, otherwise
> you are wasting your time. I bought a PCI->PCMCIA adapter from LinkSys
> for one of my wireless cards and the driver never worked, so my
> experience has not been good.
I don't really have a choice in adapters, but the one that I'm working
with, Ricoh R5C478 is supported just fine by the yenta driver. The card
I'm trying to get to work is a 16 bit wireless card based on the prismII
chipset. The card by itself works fine in another mips board for which I
wrote a socket driver. But I'm having a hell of a time with the
pci-pcmcia bridge _and_ the card behind it. Attribute memory accesses
do work -- they get passed to the card by the bridge and the card is
recognized. But the ExCA register definition, which the bridge must
support, allows for this "Optional memory window x upper byte of start
address". It is this optional register that allows me to setup the 32
bit pci memory address. The IO windows registers, on the other hand,
allow you to setup 16 bit addresses only. So I can't figure out how I
can put a 32 bit pci address on the bus, and have the bridge forward
that address to the 16 bit pcmcia card.
If there's any experts in this field, I would appreciate some input.