Subject: PR/26909 CVS commit: src/sys/dev/pcmcia
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: ITOH Yasufumi <itohy@netbsd.org>
List: netbsd-bugs
Date: 12/28/2006 16:40:02
The following reply was made to PR kern/26909; it has been noted by GNATS.
From: ITOH Yasufumi <itohy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/26909 CVS commit: src/sys/dev/pcmcia
Date: Thu, 28 Dec 2006 16:37:46 +0000 (UTC)
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.