[PATCH] PCI: Unhide SMBus on Compaq Evo N620c
authorRumen Ivanov Zarev <rzarev@its.caltech.edu>
Tue, 6 Sep 2005 20:39:32 +0000 (13:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Sep 2005 20:58:41 +0000 (13:58 -0700)
Trivial patch against 2.6.13 to unhide SMBus on Compaq Evo N620c laptop using
Intel 82855PM chipset.

Signed-off-by: Rumen Zarev <rzarev@caltech.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c

index 4f0c1bd3674a6cf681a992b1f095eba5a5395de2..11ca44387cb03f043eba5ce6f2dcbd35672a68aa 100644 (file)
@@ -876,6 +876,12 @@ static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev)
                        case 0xC00C: /* Samsung P35 notebook */
                                asus_hides_smbus = 1;
                        }
+       } else if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_COMPAQ)) {
+               if (dev->device == PCI_DEVICE_ID_INTEL_82855PM_HB)
+                       switch(dev->subsystem_device) {
+                       case 0x0058: /* Compaq Evo N620c */
+                               asus_hides_smbus = 1;
+                       }
        }
 }
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,  PCI_DEVICE_ID_INTEL_82845_HB,   asus_hides_smbus_hostbridge );