Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pcmcia



> 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.



Home | Main Index | Thread Index | Old Index