diff options
author | Mattia Dongili <malattia@linux.it> | 2007-07-15 13:34:33 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-22 00:34:58 -0400 |
commit | 044847e02d46c0a9430e19249fd68777bb1d3c98 (patch) | |
tree | a048be1d65a3ac97ea7d24c7d822e5723cf7f6a8 /drivers/misc | |
parent | 08f1c192c3c32797068bfe97738babb3295bbf42 (diff) |
sony-laptop: add new SNC handlers
- lid state: GLID
- indicator lamp: GILS/SILS
- multimedia bass gain: GMGB/CMGB
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/sony-laptop.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index 9623eaf4f89f..0f378fe44c1d 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/misc/sony-laptop.c | |||
@@ -487,6 +487,14 @@ SNC_HANDLE_NAMES(audiopower_set, "AZPW"); | |||
487 | SNC_HANDLE_NAMES(lanpower_get, "GLNP"); | 487 | SNC_HANDLE_NAMES(lanpower_get, "GLNP"); |
488 | SNC_HANDLE_NAMES(lanpower_set, "LNPW"); | 488 | SNC_HANDLE_NAMES(lanpower_set, "LNPW"); |
489 | 489 | ||
490 | SNC_HANDLE_NAMES(lidstate_get, "GLID"); | ||
491 | |||
492 | SNC_HANDLE_NAMES(indicatorlamp_get, "GILS"); | ||
493 | SNC_HANDLE_NAMES(indicatorlamp_set, "SILS"); | ||
494 | |||
495 | SNC_HANDLE_NAMES(gainbass_get, "GMGB"); | ||
496 | SNC_HANDLE_NAMES(gainbass_set, "CMGB"); | ||
497 | |||
490 | SNC_HANDLE_NAMES(PID_get, "GPID"); | 498 | SNC_HANDLE_NAMES(PID_get, "GPID"); |
491 | 499 | ||
492 | SNC_HANDLE_NAMES(CTR_get, "GCTR"); | 500 | SNC_HANDLE_NAMES(CTR_get, "GCTR"); |
@@ -507,6 +515,12 @@ static struct sony_nc_value sony_nc_values[] = { | |||
507 | boolean_validate, 0), | 515 | boolean_validate, 0), |
508 | SNC_HANDLE(lanpower, snc_lanpower_get, snc_lanpower_set, | 516 | SNC_HANDLE(lanpower, snc_lanpower_get, snc_lanpower_set, |
509 | boolean_validate, 1), | 517 | boolean_validate, 1), |
518 | SNC_HANDLE(lidstate, snc_lidstate_get, NULL, | ||
519 | boolean_validate, 0), | ||
520 | SNC_HANDLE(indicatorlamp, snc_indicatorlamp_get, snc_indicatorlamp_set, | ||
521 | boolean_validate, 0), | ||
522 | SNC_HANDLE(gainbass, snc_gainbass_get, snc_gainbass_set, | ||
523 | boolean_validate, 0), | ||
510 | /* unknown methods */ | 524 | /* unknown methods */ |
511 | SNC_HANDLE(PID, snc_PID_get, NULL, NULL, 1), | 525 | SNC_HANDLE(PID, snc_PID_get, NULL, NULL, 1), |
512 | SNC_HANDLE(CTR, snc_CTR_get, snc_CTR_set, NULL, 1), | 526 | SNC_HANDLE(CTR, snc_CTR_get, snc_CTR_set, NULL, 1), |