From owner-freebsd-acpi@FreeBSD.ORG Sat Apr 8 04:43:32 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C56716A401; Sat, 8 Apr 2006 04:43:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11DE343D48; Sat, 8 Apr 2006 04:43:32 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k384gp23098463; Fri, 7 Apr 2006 22:42:52 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 07 Apr 2006 22:42:52 -0600 (MDT) Message-Id: <20060407.224252.32174177.imp@bsdimp.com> To: casper@web.am From: "M. Warner Losh" In-Reply-To: <44371B4F.5090504@web.am> References: <44371B4F.5090504@web.am> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: /sys/i386/acpica/acpi_machdep.c - source code clarification needed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 04:43:32 -0000 In message: <44371B4F.5090504@web.am> Gaspar Chilingarov writes: : I'm really missing something why there are apm device creation and : emulation in acpi_machdep.c? Is it to provide some apm-compatible way : to view battery information or it's used (in some hidden way) for some : other purposes elsewhere? Former. It is just a compat interface for battery programs. Warner