]> err.no Git - linux-2.6/commit
drivers/edac: fix leaf sysfs attribute
authorDouglas Thompson <dougthompson@xmission.com>
Thu, 19 Jul 2007 08:50:25 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:56 +0000 (10:04 -0700)
commitfd309a9d8e63e9176759d00630b65d772ae06e0c
tree6862ba1ef11429b8ed51b005ad7db6ae4144e970
parent7d8536fb484360f35c0a9e3631641948bf168e2b
drivers/edac: fix leaf sysfs attribute

This patch fixes and enhances the driver level set of sysfs attributes that
can be added to the 'block' level of an edac_device type of driver.

There is a controller information structure, which contains one or more
instances of device.  Each instance will have one or more blocks of device
specific counters.  This patch fixes the ability to have more detailed
attributes/controls for each of the 'blocks', providing for the addition of
controls/attributes from the low level driver to user space via sysfs.

Cc: Alan Cox alan@lxorguk.ukuu.org.uk
Signed-off-by: Douglas Thompson <dougthompson@xmission.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/edac_core.h
drivers/edac/edac_device.c
drivers/edac/edac_device_sysfs.c