jhb         2007-03-21 18:40:31 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/iwi          if_iwi.c 
  Log:
  Fix an off-by-one error in iwi_init_fw_dma().  It didn't reuse the existing
  DMA memory for a firmware load if it was the exact size needed, thus in the
  common case the driver was constantly free'ing and reallocating the DMA
  buffer and it would eventually begin to fail.  With this fix, iwi0 reuses
  the same buffer the entire time and no longer fails to load the firmware
  after the machine has been up for a while.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.52      +1 -1      src/sys/dev/iwi/if_iwi.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to