aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-10-14 05:07:07 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-10 10:49:31 -0400
commitfd3826549db7f73d22b9c9abb80e01effb95c2ba (patch)
tree5c315dd39f8c7b4c1e144d75816abcdf72ac3d1e /drivers/edac
parent321ece4dda32f52d4a28d6eb11f2ca2a5c93c191 (diff)
i7core_edac: PCI device is called NONCORE, instead of NOCORE
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i7core_edac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index c2857f60ae6a..bb538dfbdc6c 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -291,7 +291,7 @@ struct pci_id_descr pci_dev_descr[] = {
291 * the probing code needs to test for the other address in case of 291 * the probing code needs to test for the other address in case of
292 * failure of this one 292 * failure of this one
293 */ 293 */
294 { PCI_DESCR(0, 0, PCI_DEVICE_ID_INTEL_I7_NOCORE) }, 294 { PCI_DESCR(0, 0, PCI_DEVICE_ID_INTEL_I7_NONCORE) },
295 295
296}; 296};
297#define N_DEVS ARRAY_SIZE(pci_dev_descr) 297#define N_DEVS ARRAY_SIZE(pci_dev_descr)
@@ -1177,9 +1177,9 @@ int i7core_get_onedevice(struct pci_dev **prev, int devno)
1177 * is at addr 8086:2c40, instead of 8086:2c41. So, we need 1177 * is at addr 8086:2c40, instead of 8086:2c41. So, we need
1178 * to probe for the alternate address in case of failure 1178 * to probe for the alternate address in case of failure
1179 */ 1179 */
1180 if (pci_dev_descr[devno].dev_id == PCI_DEVICE_ID_INTEL_I7_NOCORE && !pdev) 1180 if (pci_dev_descr[devno].dev_id == PCI_DEVICE_ID_INTEL_I7_NONCORE && !pdev)
1181 pdev = pci_get_device(PCI_VENDOR_ID_INTEL, 1181 pdev = pci_get_device(PCI_VENDOR_ID_INTEL,
1182 PCI_DEVICE_ID_INTEL_I7_NOCORE_ALT, *prev); 1182 PCI_DEVICE_ID_INTEL_I7_NONCORE_ALT, *prev);
1183 1183
1184 if (!pdev) { 1184 if (!pdev) {
1185 if (*prev) { 1185 if (*prev) {