sony-laptop: detect the ICH9 chipset as Type3
authorISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Thu, 26 Mar 2009 12:58:20 +0000 (21:58 +0900)
committerLen Brown <len.brown@intel.com>
Fri, 27 Mar 2009 16:19:19 +0000 (12:19 -0400)
Signed-off-by: ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c

index 813d0e03d9c5340dec8dbc5536cdce71003bd964..5030f991906a27f07477feaccc6c821bdc9fd9f7 100644 (file)
@@ -1824,6 +1824,13 @@ static void sony_pic_detect_device_type(struct sony_pic_dev *dev)
                goto out;
        }
 
+       pcidev = pci_get_device(PCI_VENDOR_ID_INTEL,
+                       PCI_DEVICE_ID_INTEL_ICH9_1, NULL);
+       if (pcidev) {
+               dev->control = &spic_types[2];
+               goto out;
+       }
+
        /* default */
        dev->control = &spic_types[1];