summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorISHIKAWA Mutsumi <ishikawa@hanzubon.jp>2009-03-26 21:58:20 +0900
committerLen Brown <len.brown@intel.com>2009-03-27 12:19:19 -0400
commitd5b02695d5471b38064efeba2b102bd5ead55297 (patch)
treef809e176114ceac029b92256fb19a1ca4e1dab03 /drivers/platform
parent2b24ef093aec6d7b9c18af75644ec22b4069b283 (diff)
downloadlinux-stable-d5b02695d5471b38064efeba2b102bd5ead55297.tar.gz
linux-stable-d5b02695d5471b38064efeba2b102bd5ead55297.tar.bz2
linux-stable-d5b02695d5471b38064efeba2b102bd5ead55297.zip
sony-laptop: detect the ICH9 chipset as Type3
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/sony-laptop.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 813d0e03d9c5..5030f991906a 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -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];