Re: sysfs for IPMI, for new mm kernels

2005-03-31 Thread Corey Minyard
Dmitry Torokhov wrote: On Thursday 31 March 2005 22:02, Corey Minyard wrote: + snprintf(name, sizeof(name), "ipmi%d", if_num); + class_device_create(ipmi_class, dev, NULL, name); class_device_create(ipmi_class, dev, NULL, "ipmi%d", if_num) ? Yes, much better. Let's try again

Re: sysfs for IPMI, for new mm kernels

2005-03-31 Thread Dmitry Torokhov
On Thursday 31 March 2005 22:02, Corey Minyard wrote: > +ÂÂÂsnprintf(name, sizeof(name), "ipmi%d", if_num); > +ÂÂÂclass_device_create(ipmi_class, dev, NULL, name); > class_device_create(ipmi_class, dev, NULL, "ipmi%d", if_num) ? -- Dmitry - To unsubscribe from this list: send the line "

sysfs for IPMI, for new mm kernels

2005-03-31 Thread Corey Minyard
Andrew, There are some major changes in the current mm kernels to the class interface that require changes to the IPMI driver. Thus the previously posted sysfs changes for IPMI are now incorrect. Here's a new one. -Corey Add support for sysfs to the IPMI device interface. Signed-off-by: Corey