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, 1 Nov 2011 12:01:49 +0000 (10:01 -0200)
commit4055759145b421537207ed0d034041f1774ab41d
tree9819fc092edb4fed369ebf6a7767174fdf484f4f
parentf9902f24fc2d6bcc836622aa70e77f7f9dfb30a9
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