From owner-acpi-jp@jp.FreeBSD.org Thu Jan  1 09:16:45 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i010Gjp72142;
	Thu, 1 Jan 2004 09:16:45 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from hermes.home.paeps.cx (postfix@hermes.home.paeps.cx [2001:838:37f:10:20c:6eff:fe4b:23f])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet6 id i010GhC72048
	for <acpi-jp@jp.FreeBSD.org>; Thu, 1 Jan 2004 09:16:43 +0900 (JST)
	(envelope-from philip@hermes.home.paeps.cx)
Received: by hermes.home.paeps.cx (Postfix, from userid 1001)
	id 6330A41; Thu,  1 Jan 2004 01:16:41 +0100 (CET)
From: Philip Paeps <philip+freebsd@paeps.cx>
To: acpi-jp@jp.FreeBSD.org
Message-ID: <20040101001641.GG784@hermes.home.paeps.cx>
Mail-Followup-To: acpi-jp@jp.FreeBSD.org
References: <20031212114100.GC659@hermes.nixsys.be> <20031212171121.M54374@root.org> <20031215073539.GB685@hermes.nixsys.be> <20031231113238.A2478@root.org> <20031231195702.GF751@hermes.home.paeps.cx> <9FDA83CC-3BDF-11D8-AE15-000393C72BD6@mac.com> <20031231145342.P2857@root.org> <4B0D15D1-3BEB-11D8-AE15-000393C72BD6@mac.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4B0D15D1-3BEB-11D8-AE15-000393C72BD6@mac.com>
X-Date-in-Rome: pridie Kalendas Ianuarias MMDCCLVII ab Urbe Condida
X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3 FC53 BF4B D0E6 049D B879
X-Message-Flag: Get a proper mailclient!  Mutt: <http://www.mutt.org/>
User-Agent: Mutt/1.5.5.1i
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 1 Jan 2004 01:16:41 +0100
X-Sequence: acpi-jp 2962
Subject: [acpi-jp 2962] Re: [patch] Thermal ioctls?
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: philip+freebsd@paeps.cx
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+031216

On 2003-12-31 15:44:36 (-0800), Michael Smith <DrZiplok@mac.com> wrote:
> On Dec 31, 2003, at 2:55 PM, Nate Lawson wrote:
> > So are you against adding the thermal ioctls?  It would be nice to
> > simplify the means of exporting temp data to user applications.  Isn't
> > there already an API for this that ACPI can provide information to?  I
> > find it hard to believe FreeBSD has had no thermal information API for the
> > past 3 years.
> 
> I'm opposed to the use of ioctls for this, yes.
> 
> Sysctl is typically simpler to use, too:

[snip code]

> ... I won't bother to detail the kernel-side differences, but suffice it to
> say that adding a sysctl node is a lot easier than adding an entire new
> device to back the ioctls.

Yes, but there's already a device, we're merely adding ioctls to it in
addition to the ones that are already there...

 - Philip

-- 
Philip Paeps                                          Please don't CC me, I am
                                                       subscribed to the list.

  A large system, produced by expanding the dimensions of
  a smaller system, does not behave like the smaller system.
