lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH][RFC] Proposal for a new watchdog interface using sysfs
From
Date
On Fri, 2003-02-14 at 13:35, Pavel Machek wrote:
> Hi!
>
> > > > temperature (RO)
> > > > - show: prints temperature in degrees farenheit
> > >
> > > Please, use degrees celsius to keep it consistent with ACPI and
> > > lm-sensors.
> >
> > The ioctl interface is farenheit and has been since before Linux 2.0
> > That may not have been smart but we are stuck with it there at
> > least.
>
> Oops, that's bad.
>
> But I believe we should make it celsius in /sys, even if it means
> conversion somewhere.
>
> Pavel

The watchdog infrastructure would just show what ever integer the driver
provides via the watchdog_ops.get_temperature() function pointer, so it
would be up to the driver developer to decide if the data is really
Fahrenheit or whatever.

--rustyl

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.061 / U:1.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site