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

Dmitry Torokhov
2005-09-16T22:45:19Z

On 9/16/05, Greg KH <gregkh@suse.de> 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