From: Mauro Carvalho Chehab Date: Tue, 30 Nov 2010 10:14:30 +0000 (-0200) Subject: i7core_edac: return -ENODEV if no MC is found X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24c70a0e06fbadbe66fbb26f41b64153c5c1efbd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed