]> git.hungrycats.org Git - linux/commitdiff
[PATCH] I2C: Additional P4B subsystem id for hidden asus smbus
authorSean Estabrooks <seanlkml@rogers.com>
Fri, 8 Aug 2003 09:36:42 +0000 (02:36 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 8 Aug 2003 09:36:42 +0000 (02:36 -0700)
  This patch adds another P4B motherboard subsystem identifier to the recent
asus sensor patch for the 2.6 kernel.

drivers/pci/quirks.c

index 6df1f1c7711bf08aed951655ed53217e7269e230..55c5aa1ca1ce0309554ad525291d653454147327 100644 (file)
@@ -681,9 +681,12 @@ static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev)
        if (likely(dev->subsystem_vendor != PCI_VENDOR_ID_ASUSTEK))
                return;
 
-       if ((dev->device == PCI_DEVICE_ID_INTEL_82845_HB) && 
-           (dev->subsystem_device == 0x8088)) /* P4B533 */
-               asus_hides_smbus = 1;
+       if (dev->device == PCI_DEVICE_ID_INTEL_82845_HB)
+               switch(dev->subsystem_device) {
+               case 0x8070: /* P4B */
+               case 0x8088: /* P4B533 */
+                       asus_hides_smbus = 1;
+               }
        if ((dev->device == PCI_DEVICE_ID_INTEL_82845G_HB) &&
            (dev->subsystem_device == 0x80b2)) /* P4PE */
                asus_hides_smbus = 1;