public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] Correctly detect Sony TX770P PIC device type
@ 2008-04-18 22:41 Sergey Yanovich
  2008-04-18 22:41 ` [PATCH 2/3] Add control over wifi power in Sony laptops Sergey Yanovich
  2008-04-27  6:15 ` [PATCH 1/3] Correctly detect Sony TX770P PIC device type Mattia Dongili
  0 siblings, 2 replies; 11+ messages in thread
From: Sergey Yanovich @ 2008-04-18 22:41 UTC (permalink / raw)
  To: linux-acpi; +Cc: malattia, Sergey Yanovich

This laptop has Type 4 SPIC device, support for which has been added
recently. This device resides behind an older ISA bridge and was
earlier incorrectly detected as Type 3.
---
 drivers/misc/sony-laptop.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c
index 02ff3d1..be70153 100644
--- a/drivers/misc/sony-laptop.c
+++ b/drivers/misc/sony-laptop.c
@@ -1563,6 +1563,11 @@ static void sony_pic_detect_device_type(struct sony_pic_dev *dev)
 	pcidev = pci_get_device(PCI_VENDOR_ID_INTEL,
 			PCI_DEVICE_ID_INTEL_ICH6_1, NULL);
 	if (pcidev) {
+		if (pcidev->subsystem_vendor == PCI_VENDOR_ID_SONY &&
+				pcidev->subsystem_device == 0x81E2) {
+			dev->control = &spic_types[3];
+			goto out;
+		}
 		dev->control = &spic_types[2];
 		goto out;
 	}
-- 
1.5.5


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-04-29 13:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-18 22:41 [PATCH 1/3] Correctly detect Sony TX770P PIC device type Sergey Yanovich
2008-04-18 22:41 ` [PATCH 2/3] Add control over wifi power in Sony laptops Sergey Yanovich
2008-04-18 22:41   ` [PATCH 3/3] Synchronize wireless power state with hardware for " Sergey Yanovich
2008-04-18 23:45     ` Sergey Yanovich
2008-04-18 23:51       ` Sergey Yanovich
2008-04-29 13:38         ` [PATCH] acpi: synchronize wireless power state " Sergey Yanovich
2008-04-18 23:59     ` [PATCH 3/3] Synchronize wireless power state with hardware " Sergey Yanovich
2008-04-29 13:36   ` [PATCH] acpi: add control over wifi power in " Sergey Yanovich
2008-04-27  6:15 ` [PATCH 1/3] Correctly detect Sony TX770P PIC device type Mattia Dongili
2008-04-29  8:52   ` Sergey Yanovich
2008-04-29 11:45     ` Mattia Dongili

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox