Date: Sat, 17 May 2008 18:05:54 GMT From: anholt@FreeBSD.org To: anholt@freebsd.org, anholt@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/102760: [iwi] iwi firmware load fails after significant uptime Message-ID: <200805171805.m4HI5soP034905@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: [iwi] iwi firmware load fails after significant uptime State-Changed-From-To: feedback->closed State-Changed-By: anholt State-Changed-When: Sat May 17 18:04:40 UTC 2008 State-Changed-Why: I thought this had been closed. It was fixed with: commit 47b82a7f674e803139104be78d9fe2e3495be857 Author: jhb <jhb> Date: Wed Mar 21 18:40:31 2007 +0000 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 http://www.freebsd.org/cgi/query-pr.cgi?pr=102760
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805171805.m4HI5soP034905>