Subject: Re: CVS commit: src/sys/dev/pcmcia
To: Charles M. Hannum <abuse@spamalicious.com>
From: enami tsugutomo <enami@but-b.or.jp>
List: source-changes
Date: 10/23/2003 12:21:06
> Oy. This means another power up/down cycle of the PCMCIA card to attach the
> disks. This is very slow. I purposefully avoided that in my previous
> changes.
Then, keep the WDC_PCMCIA_ATTACH flag set after we exit from
wdc_pcmcia_attach(), and in wdc_pcmcia_enable, clear WDC_PCMCIA_ATTACH
flag instead of calling pcmcia_function_enable() if it is set.
Anyway, calling pcmcia_function_disable() in wdc_pcmcia_detach() is
wrong, since it means device is enabled until it is detached.
enami.