Subject: Compact FLASH won't
To: Current Users <current-users@netbsd.org>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: current-users
Date: 02/21/1999 15:15:25
I've been playing a bit with the Compact FLASH cards again, but I haven't
found the problem so far.

The CF cards just won't report Ready status, so the NetBSD code just locks
up completely.

When I insert my PCMCIA Ethernet card, the interface status register reads
0x7f and the register 0x16 reads 0xc0.

When I insert a CF card, the interface status register reads
0x0c and the register 0x16 reads 0x80.

In both cases, PCIC_PWRCTL reads 0x90 and PCIC_INTR reads 0x40.

I have tried forcing the CF slot in IO card mode, but this doesn't seem to
help.

These CF cards work with 5 V or 3.3 V supply, so that's not the problem.
The cards work OK in a digital camera, a medical instrument, and on a win95
machine.

My imagination is running out..  I know these cards are easy to talk to as
I have designed them into custom hardware and written the driver for them..
But I just can't figure out why they are not working under NetBSD.  I got a
datasheet for the Cirrus Logic PD6729 PCMCIA controller, but I guess it's
not fully compatible with the Intel 82365 controller (which is used in my
laptop) because some bits that are changing are described as "reserved" in
the Cirrus Logic datasheet.

Any ideas appreciated..

  -jm