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)
commitf338d736910edf00e8426ee4322cfda585268d50
treeb3cd07c94cc5ef6eab9107b04cec94e2f422494e
parentc419d921e68c54232ce6d369a3b528cd7644b2ae
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