Subject: CVS commit: syssrc/sys/dev/pcmcia
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 08/15/2002 13:37:03
Module Name: syssrc
Committed By: christos
Date: Thu Aug 15 10:37:03 UTC 2002
Modified Files:
syssrc/sys/dev/pcmcia: pcmcia_cis.c pcmcia_cis_quirks.c pcmciavar.h
Log Message:
Fix multi-function card memory problems:
- centralize pcmcia function allocation and free'ing.
- free the cfe too, not just the pf in the multifunction card case.
- don't free pointers while walking the list, because free() will
fill the memory with deadbeef, thus killing list walking.
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 syssrc/sys/dev/pcmcia/pcmcia_cis.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/dev/pcmcia/pcmcia_cis_quirks.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/pcmcia/pcmciavar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.