]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i7core_edac: return -ENODEV if no MC is found
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Nov 2010 10:14:30 +0000 (08:14 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Nov 2010 10:14:30 +0000 (08:14 -0200)
commit24c70a0e06fbadbe66fbb26f41b64153c5c1efbd
treefc2b0c9c438fc2937a04bc2b2cb86686bf18f030
parentc7a471ec6528ede2acd45bb5e37c0f8a094ec001
i7core_edac: return -ENODEV if no MC is found

Nehalem-EX uses a different memory controller. However, as the
memory controller is not visible on some Nehalem/Nehalem-EP, we
need to indirectly probe via a X58 PCI device. The same devices
are found on (some) Nehalem-EX. So, on those machines, the
probe routine needs to return -ENODEV, as the actual Memory
Controller registers won't be detected.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c