Subject: CVS commit: src/sys/dev/pcmcia
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 08/10/2004 22:49:13
Module Name: src
Committed By: mycroft
Date: Tue Aug 10 22:49:13 UTC 2004
Modified Files:
src/sys/dev/pcmcia: aic_pcmcia.c esp_pcmcia.c if_awi_pcmcia.c
if_wi_pcmcia.c nca_pcmcia.c spc_pcmcia.c wdc_pcmcia.c
Log Message:
Rather than the silly state machine, set whatever higher-level reference
count there is (for SCSI, adapt_refcnt) to 1 and call the appropriate
"delref" function afterwards to disable the controller. This is a bit
simpler.
In a couple of cases, just remove the state machine, because it wasn't
really necessary.
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/sys/dev/pcmcia/aic_pcmcia.c
cvs rdiff -r1.23 -r1.24 src/sys/dev/pcmcia/esp_pcmcia.c
cvs rdiff -r1.32 -r1.33 src/sys/dev/pcmcia/if_awi_pcmcia.c
cvs rdiff -r1.57 -r1.58 src/sys/dev/pcmcia/if_wi_pcmcia.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/pcmcia/nca_pcmcia.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/pcmcia/spc_pcmcia.c
cvs rdiff -r1.82 -r1.83 src/sys/dev/pcmcia/wdc_pcmcia.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.