mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
[PATCH] sonypi: correct detection of new ICH7-based laptops
Add a test to detect the ICH7 based Core Duo SONY laptops (such as the SZ1) as type3 models. Signed-off-by: Arnaud MAZIN < arnaud.mazin@gmail.com> Acked-by: Stelian Pop <stelian@poppies.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
962f831f67
commit
bf104e641c
@ -1341,6 +1341,9 @@ static int __devinit sonypi_probe(struct platform_device *dev)
|
||||
else if ((pcidev = pci_get_device(PCI_VENDOR_ID_INTEL,
|
||||
PCI_DEVICE_ID_INTEL_ICH6_1, NULL)))
|
||||
sonypi_device.model = SONYPI_DEVICE_MODEL_TYPE3;
|
||||
else if ((pcidev = pci_get_device(PCI_VENDOR_ID_INTEL,
|
||||
PCI_DEVICE_ID_INTEL_ICH7_1, NULL)))
|
||||
sonypi_device.model = SONYPI_DEVICE_MODEL_TYPE3;
|
||||
else
|
||||
sonypi_device.model = SONYPI_DEVICE_MODEL_TYPE2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user