Re: [RFC] subclasses in sysfs to solve world peace

From: Dmitry Torokhov
Date: Fri Sep 16 2005 - 17:45:57 EST


On 9/16/05, Greg KH <gregkh@xxxxxxx> wrote:
> On Fri, Sep 16, 2005 at 03:04:38AM +0200, Kay Sievers wrote:
> > How will the SUBSYSTEM (kset name) value look like for a "subclass"?
>
> It would be the CLASS value, to make it easier for userspace.
>
> > Will it have it's own value or will all class devices and subclass
> > devices share the same SUBSYSTEM?
>
> Yes, they will all share the same.
>
> > What are the "subclass drivers"? Similar to the current "bus drivers"?
>
> No, kinda like what the mouse driver is today. It's a type of driver
> that creates subclass devices for class devices.
>
> > Will it be possible to have subclasses of subclasses? :)
>
> Heh, no, the tree stops here :)
>

I think you are potentially shooting yourself in the foot. There is no
technical reasons for limiting depth of the tree.

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