diff options
| author | Mrton Nmeth <nm127@freemail.hu> | 2008-03-09 16:47:59 -0400 |
|---|---|---|
| committer | Richard Purdie <rpurdie@rpsys.net> | 2008-04-24 18:34:18 -0400 |
| commit | b3ba31f84ea041c0945b5904d4c407ce14b2b72c (patch) | |
| tree | eb4dcf4c664c2bc201cd09348ff984a80593382f | |
| parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff) | |
leds: Add mail LED support for "Clevo D400P"
The leds-clevo-mail module also works with model "Clevo D400P",
add this model to the white list.
Signed-off-by: Mrton Nmeth <nm127@freemail.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
| -rw-r--r-- | drivers/leds/Kconfig | 4 | ||||
| -rw-r--r-- | drivers/leds/leds-clevo-mail.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index eb97c4113d78..4f56248fed4e 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
| @@ -127,6 +127,7 @@ config LEDS_CLEVO_MAIL | |||
| 127 | 127 | ||
| 128 | This module can drive the mail LED for the following notebooks: | 128 | This module can drive the mail LED for the following notebooks: |
| 129 | 129 | ||
| 130 | Clevo D400P | ||
| 130 | Clevo D410J | 131 | Clevo D410J |
| 131 | Clevo D410V | 132 | Clevo D410V |
| 132 | Clevo D400V/D470V (not tested, but might work) | 133 | Clevo D400V/D470V (not tested, but might work) |
| @@ -134,6 +135,9 @@ config LEDS_CLEVO_MAIL | |||
| 134 | Clevo M5x0N (not tested, but might work) | 135 | Clevo M5x0N (not tested, but might work) |
| 135 | Positivo Mobile (Clevo M5x0V) | 136 | Positivo Mobile (Clevo M5x0V) |
| 136 | 137 | ||
| 138 | If your model is not listed here you can try the "nodetect" | ||
| 139 | module paramter. | ||
| 140 | |||
| 137 | To compile this driver as a module, choose M here: the | 141 | To compile this driver as a module, choose M here: the |
| 138 | module will be called leds-clevo-mail. | 142 | module will be called leds-clevo-mail. |
| 139 | 143 | ||
diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c index 5750b08b601f..d78fe6cd5a52 100644 --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c | |||
| @@ -69,6 +69,16 @@ static struct dmi_system_id __initdata mail_led_whitelist[] = { | |||
| 69 | }, | 69 | }, |
| 70 | { | 70 | { |
| 71 | .callback = clevo_mail_led_dmi_callback, | 71 | .callback = clevo_mail_led_dmi_callback, |
| 72 | .ident = "Clevo D400P", | ||
| 73 | .matches = { | ||
| 74 | DMI_MATCH(DMI_BOARD_VENDOR, "Clevo"), | ||
| 75 | DMI_MATCH(DMI_BOARD_NAME, "D400P"), | ||
| 76 | DMI_MATCH(DMI_BOARD_VERSION, "Rev.A"), | ||
| 77 | DMI_MATCH(DMI_PRODUCT_VERSION, "0106") | ||
| 78 | } | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | .callback = clevo_mail_led_dmi_callback, | ||
| 72 | .ident = "Clevo D410V", | 82 | .ident = "Clevo D410V", |
| 73 | .matches = { | 83 | .matches = { |
| 74 | DMI_MATCH(DMI_BOARD_VENDOR, "Clevo, Co."), | 84 | DMI_MATCH(DMI_BOARD_VENDOR, "Clevo, Co."), |
