]> 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>
Fri, 5 Aug 2011 16:28:55 +0000 (13:28 -0300)
commitb1f7b41537cd4aa7727c8e88666879a9b9ecdeff
tree900c0208d8d7c01f90ec5683f49b0edbde3671b0
parentc8a2b54ad3d62f045e08c02812b7103631a62686
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