From owner-cvs-src@FreeBSD.ORG Sun Feb 27 07:09:38 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 F015516A4CE; Sun, 27 Feb 2005 07:09:38 +0000 (GMT) Received: from ylpvm15.prodigy.net (ylpvm15-ext.prodigy.net [207.115.57.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FFB143D2D; Sun, 27 Feb 2005 07:09:38 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.115] (adsl-64-171-186-189.dsl.snfc21.pacbell.net [64.171.186.189])j1R75Pki010287; Sun, 27 Feb 2005 02:05:26 -0500 Message-ID: <4221722E.1080304@root.org> Date: Sat, 26 Feb 2005 23:09:34 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <200502270158.j1R1wnWJ047335@repoman.freebsd.org> <20050226.222632.86620859.imp@bsdimp.com> In-Reply-To: <20050226.222632.86620859.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/powerd powerd.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: Sun, 27 Feb 2005 07:09:39 -0000 M. Warner Losh wrote: > In message: <200502270158.j1R1wnWJ047335@repoman.freebsd.org> > Nate Lawson writes: > : Move the AC line checking code into its own function, reducing the > : ifdef __i386__ stuff for APM. Tested as working correctly on i386 and > : compile-tested on sparc64. > > We likely want to have a ifndef PC98 for acpi, since no pc98 machines > have acpi. > > # unless initalizing acpi can fail gracefully. It attempts to find the AC line sysctl. If the sysctl doesn't exist, the AC line stuff is ignored. sysctl is MI. -- Nate