PCI: Unhide the SMBus on the Asus P4P800-X
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Jan 2007 08:17:56 +0000 (09:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Jan 2007 20:00:54 +0000 (12:00 -0800)
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>
drivers/pci/quirks.c

index 0a70943f8bb6b5748ae3cf16d9da429b7120f9ec..ef882a8a094e7efe73808b5594aace721768819a 100644 (file)
@@ -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 */