From owner-cvs-src@FreeBSD.ORG Thu May 5 04:18:03 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0158D16A4CE; Thu, 5 May 2005 04:18:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDBF543D41; Thu, 5 May 2005 04:18:02 +0000 (GMT) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j454GEhk011564; Thu, 5 May 2005 04:16:14 GMT (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j454GEjV011563; Thu, 5 May 2005 04:16:14 GMT (envelope-from wpaul) Message-Id: <200505050416.j454GEjV011563@repoman.freebsd.org> From: Bill Paul Date: Thu, 5 May 2005 04:16:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis subr_ndis.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 04:18:03 -0000 wpaul 2005-05-05 04:16:14 UTC FreeBSD src repository Modified files: sys/compat/ndis subr_ndis.c Log: Remove extranaous free() of ASCII filename from NdisOpenFile(). Oh, one additional change I forgot to mention in the last commit: NdisOpenFile() was broken in the case for firmware files that were pre-loaded as modules. When searching for the module in NdisOpenFile(), we would match against a symbol name, which would contain the string we were looking for, then save a pointer to the linker file handle. Later, in NdisMapFile(), we would refer to the filename hung off this handle when trying to find the starting address symbol. Only problem is, this filename is different from the embedded symbol name we're searching for, so the mapping would fail. I found this problem while testing the AirGo driver, which requires a small firmware file. Revision Changes Path 1.87 +0 -1 src/sys/compat/ndis/subr_ndis.c