From: Janne Grunau <j@jannau.net>
To: acpi4asus-user@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org, Corentin Chary <corentincj@iksaif.net>
Subject: [PATCH 1/2] eeepc-laptop: add 3G and Wimax CM_ASL values and acpi method names
Date: Sat, 13 Jun 2009 00:33:09 +0200 [thread overview]
Message-ID: <20090612223309.GE14878@aniel.lan> (raw)
In-Reply-To: <cover.1244845758.git.j@jannau.net>
The asus_acpi module as found in the eeepc 901go redefines the control
methods bits. Bits indicating 3G modem and wimax are added between
CM_ASL_CARDREADER and CM_ASL_LID. As CM_ASL_LID was unused this does
not changes behaviour for older models.
Signed-off-by: Janne Grunau <j@jannau.net>
---
drivers/platform/x86/eeepc-laptop.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index 2c58641..8d1ecc0 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -85,6 +85,8 @@ enum {
CM_ASL_USBPORT3,
CM_ASL_MODEM,
CM_ASL_CARDREADER,
+ CM_ASL_3G,
+ CM_ASL_WIMAX,
CM_ASL_LID
};
@@ -94,7 +96,7 @@ static const char *cm_getv[] = {
NULL, "PBLG", NULL, NULL,
"CFVG", NULL, NULL, NULL,
"USBG", NULL, NULL, "MODG",
- "CRDG", "LIDG"
+ "CRDG", "M3GG", "WIMG", "LIDG"
};
static const char *cm_setv[] = {
@@ -103,7 +105,7 @@ static const char *cm_setv[] = {
"SDSP", "PBLS", "HDPS", NULL,
"CFVS", NULL, NULL, NULL,
"USBG", NULL, NULL, "MODS",
- "CRDS", NULL
+ "CRDS", "M3GS", "WIMS", NULL
};
#define EEEPC_EC "\\_SB.PCI0.SBRG.EC0."
--
1.6.0.4
next parent reply other threads:[~2009-06-12 22:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1244845758.git.j@jannau.net>
2009-06-12 22:33 ` Janne Grunau [this message]
2009-06-12 22:33 ` [PATCH 2/2] eeepc-laptop: add rfkill support for the 3G modem in Eee PC 901 Go Janne Grunau
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=20090612223309.GE14878@aniel.lan \
--to=j@jannau.net \
--cc=acpi4asus-user@lists.sourceforge.net \
--cc=corentincj@iksaif.net \
--cc=linux-kernel@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