[openib-general] Re: [PATCH] Yet more sysfs support

Greg KH greg at kroah.com
Wed Sep 8 16:02:55 PDT 2004


On Mon, Sep 06, 2004 at 03:32:11PM -0700, Roland Dreier wrote:
> +#define PORT_ATTR(_name, _mode, _show, _store) 		\

Try using the __ATTR and __ATTR_RO macros to make these and the places
you use it, simpler.

Man, it really would be nice if it was easier to create subdirectories
in the driver model without being forced to drop down to the kobject
layer, wouldn't it :(

Patches look good, nice job.

thanks,

greg k-h



More information about the general mailing list