Re: [PATCH 26/47] Driver core: add groups support to struct device

From: Dmitry Torokhov
Date: Tue Sep 26 2006 - 09:20:35 EST


On 9/26/06, Greg KH <greg@xxxxxxxxx> wrote:
From: Greg Kroah-Hartman <gregkh@xxxxxxx>

This is needed for the network class devices in order to be able to
convert over to use struct device.


Greg,

You keep pushing out patches that merge class devices and standard
devices but you still have not shown the usefullness of this process.
Why do you feel the need to change internal kernel structures
(ever-expanding struct device to accomodate everything that is in
struct class_device) when it should be possible to simply adjust sysfs
representation of the kernel tree (moving class devices into
/sys/device/.. part of the tree) to udev's liking and leave the rest
of the kernel alone. You have seen the patch, only minor changes in
driver/base/class.c are needed to accomplish the move.

I really disappointed that there was no discussion/review of the
implementation at all.

--
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/