Subject: Adding new PCMCIA drivers
To: None <current-users@NetBSD.ORG>
From: Eric S. Hvozda <>
List: current-users
Date: 01/08/1996 19:24:28
Finally I've got time to get back my driver;  However, I seem to have
reached an impasse.

I have a stripped down driver and I've got it added so config(8)
can build the kernel; it builds and doesn't panic. :-)

The problem?

Even though pcmcia_selectdev returns the correct driver (ie it finds the
card based on the CIS strings), pcmcia_configure() fails to
ever configure the card.

Further examination shows pcmcia_configure gets called for each
PCMCIA device in knowndevs.

However, even though have added my device to knowndevs and added
the proper prototype as well, pcmcia_configure() is still only
being called for ed and com.  my new device doesn't seem to
be recognized (ie pcmcia_configure() is never called with it).

Is there some other modification I need to make within 
/sys/dev/pcmcia/pcmcia.c or else where to make pcmcia_configure()
see my new device?