amd64_edac: add F10h-and-later methods-p1
authorDoug Thompson <dougthompson@xmission.com>
Mon, 27 Apr 2009 14:16:50 +0000 (16:16 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 10 Jun 2009 10:18:55 +0000 (12:18 +0200)
commit1afd3c98b5e8df68e1840b56c0ced15f314ce30d
tree4ddaa116db045cb3670f8ff6beda9f84480dc303
parentddff876d2022c5e06509f6535bc4fd61c4d6ffd6
amd64_edac: add F10h-and-later methods-p1

Borislav:

Fail f10_early_channel_count() if error encountered while reading a NB
register since those cached register contents are accessed afterwards.

- fix/cleanup comments
- fix function return value patterns
- cleanup debug calls

Reviewed-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c