Date: Sat, 10 Jun 2006 17:04:07 +0000 (UTC) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys firmware.h src/sys/kern subr_firmware.c Message-ID: <200606101704.k5AH479k065331@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2006-06-10 17:04:07 UTC
FreeBSD src repository
Modified files:
sys/sys firmware.h
sys/kern subr_firmware.c
Log:
Keep firmware images on the list until they have been unregistered
with firmware_unregister(). Previously when the last driver reference
had been dropped we would clear the list entry under the assumption
that the firmware module was about to be unloaded, but this was not
true if the firmware image had been loaded manually with kldload.
This makes it possible to manually kldload firmware images as a
workaround for drivers such as ipw that attempt to load firmware
while resuming after a suspend.
Reviewed by: mlaier (an earlier version of the patch)
Revision Changes Path
1.2 +35 -19 src/sys/kern/subr_firmware.c
1.2 +4 -0 src/sys/sys/firmware.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606101704.k5AH479k065331>
