cvs commit: src/sys/sys firmware.h src/sys/kern subr_firmware.c

Ian Dowse iedowse at FreeBSD.org
Sat Jun 10 17:06:17 UTC 2006


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


More information about the cvs-src mailing list