diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-10 17:39:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-10 10:44:51 -0400 |
commit | d1fd4fb69eeeb7db0693df58b9116db498d5bfe1 (patch) | |
tree | e3870ec2d0c20804c2865a67c606acf8a736c01c /include | |
parent | 5707b24a50b40582226618c56692af932db9fe02 (diff) |
i7core_edac: Add a code to probe Xeon 55xx bus
This code changes the detection procedure of i7core_edac. Instead of
directly probing for MC registers, it probes for another register found
on Nehalem. If found, it tries to pick the first MC PCI BUS. This should
work fine with Xeon 35xx, but, on Xeon 55xx, this is at bus 254 and 255
that are not properly detected by the non-legacy PCI methods.
The new detection code scans specifically at buses 254 and 255 for the
Xeon 55xx devices.
This code has not tested yet. After working, a change at the code will
be needed, since the i7core is not yet ready for working with 2 sets of
MC.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 1 | ||||
-rw-r--r-- | include/linux/pci_ids.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index a788fa12ff31..5e2c7e15187d 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -621,6 +621,7 @@ void pci_fixup_cardbus(struct pci_bus *); | |||
621 | 621 | ||
622 | /* Generic PCI functions used internally */ | 622 | /* Generic PCI functions used internally */ |
623 | 623 | ||
624 | void pcibios_scan_specific_bus(int busn); | ||
624 | extern struct pci_bus *pci_find_bus(int domain, int busnr); | 625 | extern struct pci_bus *pci_find_bus(int domain, int busnr); |
625 | void pci_bus_add_devices(const struct pci_bus *bus); | 626 | void pci_bus_add_devices(const struct pci_bus *bus); |
626 | struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, | 627 | struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 9d5bfe86ba73..12c3da6ef14d 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -2554,6 +2554,7 @@ | |||
2554 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG5 0x342a | 2554 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG5 0x342a |
2555 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG6 0x342b | 2555 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG6 0x342b |
2556 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG7 0x342c | 2556 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG7 0x342c |
2557 | #define PCI_DEVICE_ID_INTEL_X58_HUB_MGMT 0x342e | ||
2557 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG0 0x3430 | 2558 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG0 0x3430 |
2558 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG1 0x3431 | 2559 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG1 0x3431 |
2559 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG2 0x3432 | 2560 | #define PCI_DEVICE_ID_INTEL_IOAT_TBG2 0x3432 |