Date: Sat, 26 Feb 2005 23:09:34 -0800 From: Nate Lawson <nate@root.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/powerd powerd.c Message-ID: <4221722E.1080304@root.org> In-Reply-To: <20050226.222632.86620859.imp@bsdimp.com> References: <200502270158.j1R1wnWJ047335@repoman.freebsd.org> <20050226.222632.86620859.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote: > In message: <200502270158.j1R1wnWJ047335@repoman.freebsd.org> > Nate Lawson <njl@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4221722E.1080304>