]> git.baikalelectronics.ru Git - kernel.git/commit
edac: i5100 fix initialization code
authorKeith Mannthey <kmannth@us.ibm.com>
Mon, 26 Oct 2009 23:50:11 +0000 (16:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Oct 2009 14:39:30 +0000 (07:39 -0700)
commitbd89d94ecb165cf491339623ec9bc6f5adf74a16
tree4ac1a117d2b579e70edf33c3c3831d2ced7b10ca
parent3d84d46c94ce4ecce727f79d2f8513081d41a494
edac: i5100 fix initialization code

Allow csrows to properly initialize when the topology only has active
channels on 2 and 3.  This new check allows proper detection and
initialization in this topology.  Only checking the first mrt that
represented channels 0 and 1 is not sufficient.

I also fixed up the related debug information path.  I can submit as a 2nd
patch if needed.

Signed-off-by: Keith Mannthey <kmannth@us.ibm.com>
Acked-by: Aristeu Rozanski <aris@ruivo.org>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/i5000_edac.c