Subject: CVS commit: src/sys/dev/pcmcia
To: None <>
From: ITOH Yasufumi <>
List: source-changes
Date: 12/28/2006 16:37:46
Module Name:	src
Committed By:	itohy
Date:		Thu Dec 28 16:37:46 UTC 2006

Modified Files:
	src/sys/dev/pcmcia: esp_pcmcia.c

Log Message:
Don't use esp_pcmcia_enable() before attaching chip driver (ncr53c9x),
since it touches storage allocated by the chip attach function.
The chip driver properly calls scsipi_adapter_addref() /
scsipi_adapter_delref(), and just deleting the esp_pcmcia_enable() call
and the relevant code should be OK.

Fix panic descibed in PR kern/26909.

To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/dev/pcmcia/esp_pcmcia.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.