amd64_edac: fix chip select handling
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 21 Sep 2009 12:35:51 +0000 (14:35 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 7 Oct 2009 14:50:50 +0000 (16:50 +0200)
commit9d858bb10a9907bbbaffbb4a80a31718d548868c
tree6f5f6a61c171a6f4be7ccb447216757d34c6331b
parent2cff18c22cfaa88216a5d8c62ea64d1fb575c145
amd64_edac: fix chip select handling

Different processor families support a different number of chip selects.
Handle this in a family-dependent way with the proper values assigned at
init time (see amd64_set_dct_base_and_mask).

Remove _DCSM_COUNT defines since they're used at one place and originate
from public documentation.

CC: Keith Mannthey <kmannth@us.ibm.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h