]> git.baikalelectronics.ru Git - kernel.git/commit
i7core_edac: Convert UDIMM error counters into a proper sysfs group
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Sep 2009 20:25:43 +0000 (17:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:45:02 +0000 (11:45 -0300)
commit9435b305396a83c47c5c3615b782dcc64e32c9d2
treeb3cd07c94cc5ef6eab9107b04cec94e2f422494e
parent845375e7c5ec15884aae1e69e3cf0e3571c5a7a7
i7core_edac: Convert UDIMM error counters into a proper sysfs group

Instead of displaying 3 values at the same var, break it into 3
different sysfs nodes:

/sys/devices/system/edac/mc/mc0/all_channel_counts/udimm0
/sys/devices/system/edac/mc/mc0/all_channel_counts/udimm1
/sys/devices/system/edac/mc/mc0/all_channel_counts/udimm2

For registered dimms, however, the error counters are already being
displayed at:
/sys/devices/system/edac/mc/mc0/csrow*/ce_count

So, there's no need to add any extra sysfs nodes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c