aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2007-01-13 17:04:39 -0500
committerLen Brown <len.brown@intel.com>2007-02-13 03:06:26 -0500
commit4465857d5f99079bae00621626adf74ed8256296 (patch)
tree95b1f10e277157d26e23bd6400c37d76f005b804
parent05e2d8274ef4504db9941f7c515f340ab6c0b2e1 (diff)
sony_acpi: Add lanpower and audiopower controls
audiopower works well on my SZ72B so it's not marked has "debug" while lanpower has at least one report of not resuming power happily so morked as "debug" Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/sony_acpi.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/acpi/sony_acpi.c b/drivers/acpi/sony_acpi.c
index 69122ad778f5..1f7dca337025 100644
--- a/drivers/acpi/sony_acpi.c
+++ b/drivers/acpi/sony_acpi.c
@@ -102,11 +102,27 @@ static struct sony_acpi_value {
102 .name = "cdpower", 102 .name = "cdpower",
103 .acpiget = "GCDP", 103 .acpiget = "GCDP",
104 .acpiset = "SCDP", 104 .acpiset = "SCDP",
105 .min = -1, 105 .min = 0,
106 .max = -1, 106 .max = 1,
107 .debug = 0, 107 .debug = 0,
108 }, 108 },
109 { 109 {
110 .name = "audiopower",
111 .acpiget = "GAZP",
112 .acpiset = "AZPW",
113 .min = 0,
114 .max = 1,
115 .debug = 0,
116 },
117 {
118 .name = "lanpower",
119 .acpiget = "GLNP",
120 .acpiset = "LNPW",
121 .min = 0,
122 .max = 1,
123 .debug = 1,
124 },
125 {
110 .name = "PID", 126 .name = "PID",
111 .acpiget = "GPID", 127 .acpiget = "GPID",
112 .debug = 1, 128 .debug = 1,