From: Mattia Dongili <malattia@linux.it>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org,
ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>,
Mattia Dongili <malattia@linux.it>
Subject: [PATCH 4/7] [sony-laptop] detect the ICH9 chipset as Type3
Date: Mon, 3 Nov 2008 18:41:17 +0900 [thread overview]
Message-ID: <1225705280-12775-5-git-send-email-malattia@linux.it> (raw)
In-Reply-To: <1225705280-12775-4-git-send-email-malattia@linux.it>
From: ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Signed-off-by: Mattia Dongili <malattia@linux.it>
---
drivers/misc/sony-laptop.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c
index c9e5651..19f3306 100644
--- a/drivers/misc/sony-laptop.c
+++ b/drivers/misc/sony-laptop.c
@@ -1589,6 +1589,13 @@ static void sony_pic_detect_device_type(struct sony_pic_dev *dev)
goto out;
}
+ pcidev = pci_get_device(PCI_VENDOR_ID_INTEL,
+ PCI_DEVICE_ID_INTEL_ICH9_1, NULL);
+ if (pcidev) {
+ dev->control = &spic_types[4];
+ goto out;
+ }
+
/* default */
dev->control = &spic_types[1];
--
1.5.6.5
next prev parent reply other threads:[~2008-11-03 9:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 9:41 [PATCH 0/7] sony-laptop for acpi-test Mattia Dongili
2008-11-03 9:41 ` [PATCH 1/7] [sony-laptop] merge Type4 into Type3 Mattia Dongili
2008-11-03 9:41 ` [PATCH 2/7] [sony-laptop] VGN-A317M hotkey support Mattia Dongili
2008-11-03 9:41 ` [PATCH 3/7] [sony-laptop] Eliminate BKL in ioctls Mattia Dongili
2008-11-03 9:41 ` Mattia Dongili [this message]
2008-11-03 9:41 ` [PATCH 5/7] [sony-laptop] call the extra enable function for SNC on Vaio Z Mattia Dongili
2008-11-03 9:41 ` [PATCH 6/7] [sony-laptop] add control over wifi power in Sony laptops Mattia Dongili
2008-11-03 9:41 ` [PATCH 7/7] [sony-laptop] notify the hardware of a state change in wwanpower Mattia Dongili
2008-11-03 10:32 ` [PATCH 6/7] [sony-laptop] add control over wifi power in Sony laptops Matthew Garrett
2008-11-03 10:55 ` Sergey Yanovich
2008-11-03 10:57 ` Matthew Garrett
2008-11-04 8:22 ` [PATCH 4/7] [sony-laptop] detect the ICH9 chipset as Type3 ISHIKAWA Mutsumi
2008-11-04 13:21 ` Mattia Dongili
2008-11-03 11:17 ` [PATCH 0/7] sony-laptop for acpi-test Norbert Preining
2008-11-03 12:48 ` Mattia Dongili
2008-11-03 13:02 ` Norbert Preining
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=1225705280-12775-5-git-send-email-malattia@linux.it \
--to=malattia@linux.it \
--cc=ishikawa@hanzubon.jp \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox