From owner-cvs-all@FreeBSD.ORG Sun Jan 11 23:16:31 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03EC716A4D0 for ; Sun, 11 Jan 2004 23:16:31 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id EFC9743D46 for ; Sun, 11 Jan 2004 23:16:28 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 54164 invoked by uid 1000); 12 Jan 2004 07:16:31 -0000 Date: Sun, 11 Jan 2004 23:16:31 -0800 (PST) From: Nate Lawson To: cvs-all@FreeBSD.org In-Reply-To: <20040112070424.42A5F16A546@hub.freebsd.org> Message-ID: <20040111231553.U54154@root.org> References: <20040112070424.42A5F16A546@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/dev/acpica exstore.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 07:16:31 -0000 I have requested help with putting this back on the vendor branch, sorry for the mistake. On Sun, 11 Jan 2004, Nate Lawson wrote: > FreeBSD src repository > > Modified files: > sys/contrib/dev/acpica exstore.c > Log: > When creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))", > be sure to increment the refcount of the argument so it is not > prematurely deleted. This is a workaround and may appear in a different > form in ACPI-CA. This fixes battery evaluation on Thinkpads that was > broken by fixing the Dell battery state. > > Submitted by: Luming Yu > > Revision Changes Path > 1.2 +348 -280 src/sys/contrib/dev/acpica/exstore.c