lkml.org 
[lkml]   [2003]   [Feb]   [13]   [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 Thu, 2003-02-13 at 08:04, Patrick Mochel wrote:
>
> On 13 Feb 2003, Rusty Lynch wrote:
>
> > On Thu, 2003-02-13 at 03:55, Dave Jones wrote:
> > > On Wed, Feb 12, 2003 at 07:16:55PM -0800, Rusty Lynch wrote:
> > > > Basically, with the help of some watchdog infrastructure code, we could make
> > > > each watchdog device register as a platform_device named watchdog, so for
> > > > every watchdog on the system there is a /sys/devices/legacy/watchdogN/
> > > > directory created for it.
> > >
> > > Why legacy ? That seems an odd place to be putting these.
> > >
> > > Dave
> > >
> > > --
> > > | Dave Jones. http://www.codemonkey.org.uk
> > > | SuSE Labs
> >
> > The watchdogN devices show up under the "legacy" directory because
> > they are platform devices. From reading the driver-model documentation,
> > I believe that platform devices are the correct way of categorizing
> > watchdog devices.
> >
> > <pasting from Documentation/driver-model/platform.txt>
> >
> > Platform devices
> > ~~~~~~~~~~~~~~~~
>
> You could regard them as 'system' devices, and have them show up in
> devices/sys/, which would make more sense than 'legacy'.
>
> -pat

Ok, system device is the winner.

-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.072 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site