Re: [RFC][PATCH 2.6.13-rc1] driver core: subclasses

Matt Domsch
2005-07-09T13:04:18Z

On Fri, Jul 08, 2005 at 07:40:00PM -0700, Greg KH wrote:
> On Fri, Jul 08, 2005 at 05:54:48PM -0500, Matt Domsch wrote:
> > The below patch is a first pass at implementing subclasses, for review
> > and comment.
>
> Oops, when you mentioned this on irc, I thought you were referring to
> class_devices not classes. I don't want classes to be able to be
> nested, only class devices.
>
> I don't see a need for nested classes, as I thought the input thread had
> resolved itself so that it didn't need it (but I stopped paying
> attention, sorry, so I might be wrong here...)

The tailing part of the thread is here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=111873628324649&w=2
http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=111877313202313&w=2
where Hannes and Dmitry seemed to indicate (to my reading) that they
were looking for subclasses. Perhaps it's not necessary.

> Why can't you just use class_device's that can have children? That way
> the /sys/block stuff could be converted to also use this.

I will investigate.

Thanks,
Matt

--
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com