Subject: Re: Adding new PCMCIA drivers
To: None <current-users@NetBSD.ORG>
From: Christos Zoulas <>
List: current-users
Date: 01/09/1996 14:33:22
In article <> (Eric S. Hvozda) writes:
>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?

There is an array in top of pcmcia.c that you need to add your device:

static struct pcmciadevs *knowndevs[] = {
#ifdef notyet