lkml.org 
[lkml]   [2006]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch] sonypi: correct detection of new ICH7-based laptops
Date
This patch simply adds the test to detect the ICH7 based Core Duo SONY laptops (such as the SZ1) as type3 models.
Tested against 2.6.16.9 vanilla.

Signed-off-by: Arnaud MAZIN < arnaud.mazin@free.fr>
Acked-by: Stelian Pop <stelian@poppies.net>

--- linux-2.6.16.9/drivers/char/sonypi.c~ 2006-04-19 11:12:01.342086250 +0200
+++ linux-2.6.16.9/drivers/char/sonypi.c 2006-04-19 12:26:16.953139500 +0200
@@ -1341,6 +1341,9 @@ static int __devinit sonypi_probe(struct
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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-04-19 19:53    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site