Subject: Re: Adding new PCMCIA drivers
To: Christos Zoulas <christos@deshaw.com>
From: Eric S. Hvozda <hvozda@netcom.com>
List: current-users
Date: 01/09/1996 11:00:20
On Tue, 9 Jan 1996 14:33:22 GMT  Christos Zoulas wrote:
> 
> There is an array in top of pcmcia.c that you need to add your device:
> 
> static struct pcmciadevs *knowndevs[] = {
> 	pcmcia_ed_devs,
> 	pcmcia_com_devs,
> 	pcmcia_ep_devs,
> #ifdef notyet
> 	pcmcia_si_devs,
> 	pcmcia_nca_devs,
> #endif
> 	NULL
> };

:-(

I've got:

static struct pcmciadevs *knowndevs[] = {
	pcmcia_ed_devs,
	pcmcia_com_devs,
#ifdef notyet
	pcmcia_ep_devs,
	pcmcia_si_devs,
	pcmcia_nca_devs,
#endif
	pcmcia_esp_devs,
	NULL
};

And yet pcmcia_configure() still only gets called with ed and com.  It
never gets called with esp.  It shouldn't make a difference that 
I added it near the bottom of this list.

If pcmcia_ed_devs and pcmcia_esp_devs are the only two items in
the list, pcmcia_configure() still only gets called with ed and com;
which is why I wonder if there is something else I have missed.

Guess I'll have to take yet another look at it...