lkml.org 
[lkml]   [2005]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] added sysdev attribute to sysdev show/store methods - for linux-2.6.13.4
On 10/20/05, Jonathan Mayer <jonmayer@google.com> wrote:
> Surely, the organization of sysfs is logical (by grouping relating
> things) rather than functional (by grouping things that need common
> back-end interfaces).
>
> Er .. no?
>
> In general, where can I find guidance on where to put things within
> sysfs? Has anybody written some kind of Plan?
>

If it is a device it goes onto corresponding bus. Platform bus is a
kind of a kitchen sink for things that do not have a "real" bus -
things like keyboard controller, older ISA devices, etc. Only things
that necessary to get the box going and have to be suspended last with
interrupts off (like IRQ controller) should be implemented as system
devices.

--
Dmitry
-
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-10-21 01:05    [W:0.036 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site