On Mon, Nov 22, 2004 at 06:08:21PM -0800, Roland Dreier wrote: > Greg> This could be in a sysfs file, right? > > Ugh, how does one add an attribute (like the ABI version) to a > class_simple? It shouldn't be per-device but I don't see anything > like class_create_file() that could work for class_simple.
class_simple_device_add returns a pointer to a struct class_device * that you can then use to create a file in sysfs with. That should be what you're looking for. thanks, greg k-h _______________________________________________ openib-general mailing list [EMAIL PROTECTED] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
