summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-01-05 09:17:56 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-01-22 12:00:54 -0800
commit2e45785c529e0c60b1801b4fabacb05e0b8cdf87 (patch)
tree3605aedf0371e1ab4c2d6cdd0dabb1e47f1ba3da
parent365bbe0d0caaf2ba74d56556827babf0bc66965d (diff)
downloadlinux-3.10-2e45785c529e0c60b1801b4fabacb05e0b8cdf87.tar.gz
linux-3.10-2e45785c529e0c60b1801b4fabacb05e0b8cdf87.tar.bz2
linux-3.10-2e45785c529e0c60b1801b4fabacb05e0b8cdf87.zip
PCI: Unhide the SMBus on the Asus P4P800-X
Unhide the SMBus on the Asus P4P800-X (and probably some other models of the family.) This gives access to the memory module SPD EEPROMs. Thanks to Winbond for supporting the lm-sensors project with the donation of this motherboard. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/pci/quirks.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 0a70943f8bb..ef882a8a094 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1002,6 +1002,11 @@ static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev)
case 0x186a: /* M6Ne notebook */
asus_hides_smbus = 1;
}
+ if (dev->device == PCI_DEVICE_ID_INTEL_82865_HB)
+ switch (dev->subsystem_device) {
+ case 0x80f2: /* P4P800-X */
+ asus_hides_smbus = 1;
+ }
if (dev->device == PCI_DEVICE_ID_INTEL_82915GM_HB) {
switch (dev->subsystem_device) {
case 0x1882: /* M6V notebook */