Subject: Re: wi driver: pcmcia_function_{enable,disable}
To: enami tsugutomo <enami@but-b.or.jp>
From: Christian E. Hopps <chopps@merit.edu>
List: port-i386
Date: 02/13/2000 15:14:44
enami tsugutomo <enami@but-b.or.jp> writes:

> itojun@iijlab.net writes:
> 
> > 	please give me some comment about use of 
> > 	the old behavior allowed us to perform wiconfig before IFF_UP.
> > 	now it is not possible.
> 
> Just make the ioctl used by wiconfig enable a card and set it to an
> appropriate state first.
> 
> That's what I'm localy doing now.
> 
> Alternatively, make the ioctl just get/set state into only an softc.
> And load them into a card when it is enabled.

Right, I believe this is the correct behavoir.  Just save the
information in the softc and then whenever the card is enabled it should 
be intitialized as the user has requested.

Chris.