Skip to content

Commit

Permalink
sony-laptop: detect the ICH9 chipset as Type3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ISHIKAWA Mutsumi authored and Len Brown committed Mar 27, 2009
1 parent 2b24ef0 commit d5b0269
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit d5b0269

Please sign in to comment.