[patch] sonypi: correct detection of new ICH7-based laptops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 < [email protected]>
Acked-by: Stelian Pop <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux