From: Sergey Yanovich <ynvich@gmail.com>
To: linux-acpi@vger.kernel.org
Cc: malattia@linux.it, Sergey Yanovich <ynvich@gmail.com>
Subject: [PATCH 1/3] Correctly detect Sony TX770P PIC device type
Date: Sat, 19 Apr 2008 01:41:33 +0300 [thread overview]
Message-ID: <1208558495-22792-1-git-send-email-ynvich@gmail.com> (raw)
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
next reply other threads:[~2008-04-18 22:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 22:41 Sergey Yanovich [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1208558495-22792-1-git-send-email-ynvich@gmail.com \
--to=ynvich@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=malattia@linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.