amd64_edac: Check ECC capabilities initially
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 15 Oct 2010 15:44:04 +0000 (17:44 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:34:02 +0000 (11:34 +0100)
Rework the code to check the hardware ECC capabilities at PCI probing
time. We do all further initialization only if we actually can/have ECC
enabled.

While at it:
0. Fix function naming.
1. Simplify/clarify debug output.
2. Remove amd64_ prefix from the static functions
3. Reorganize code.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>

No differences found