]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6cd6725489a9e0ed12494370c1e0851119581ef8
tree6f5f6a61c171a6f4be7ccb447216757d34c6331b
parentdb1d2a340b3956bba46fe34bd3e974b49cdd18a6
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