From owner-acpi-jp@jp.freebsd.org  Tue Aug  7 00:33:39 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id AAA13923;
	Tue, 7 Aug 2001 00:33:39 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id AAA13918
	for <acpi-jp@jp.freebsd.org>; Tue, 7 Aug 2001 00:33:38 +0900 (JST)
	(envelope-from jhb@FreeBSD.org)
Received: from laptop.baldwin.cx (john@[147.11.46.201])
	by mail.wrs.com (8.9.3/8.9.1) with ESMTP id IAA12841;
	Mon, 6 Aug 2001 08:33:06 -0700 (PDT)
Message-ID: <XFMail.010806083307.jhb@FreeBSD.org>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <200108052329.f75NTY103862@mass.dis.org>
Date: Mon, 06 Aug 2001 08:33:07 -0700 (PDT)
From: John Baldwin <jhb@FreeBSD.org>
To: Mike Smith <msmith@FreeBSD.org>
Cc: acpi-jp@jp.freebsd.org
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1214
Subject: [acpi-jp 1214] Re: kqueue stuff(revised)
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: jhb@FreeBSD.org


On 05-Aug-01 Mike Smith wrote:
>> Why do we need to multiplex everything acpi related onto /dev/acpi?  We
>> might
>> as well multiplex all disk access onto a /dev/disk and use special masks to
>> specify which disk we want. :(
> 
> We do.  They're called minor numbers.

We use minor numbers for labels and slices, not different units, and slices and
labels are related items, whereas batteries have nothing to do with lid
switches. :(  I guess I'd rather us have a real /dev/batt0 with a generic
battery API which can be backed by ACPI, but also can be backed by something
else other than ACPI, so that we don't tie ourselves too tightly to just ACPI.

*shrug*

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
