diff options
author | Mrton Nmeth <nm127@freemail.hu> | 2008-03-09 20:47:59 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-04-24 23:34:18 +0100 |
commit | b3ba31f84ea041c0945b5904d4c407ce14b2b72c (patch) | |
tree | eb4dcf4c664c2bc201cd09348ff984a80593382f /drivers/leds | |
parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff) | |
download | op-kernel-dev-b3ba31f84ea041c0945b5904d4c407ce14b2b72c.zip op-kernel-dev-b3ba31f84ea041c0945b5904d4c407ce14b2b72c.tar.gz |
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>
Diffstat (limited to 'drivers/leds')
-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 eb97c41..4f56248 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -127,6 +127,7 @@ config LEDS_CLEVO_MAIL This module can drive the mail LED for the following notebooks: + Clevo D400P Clevo D410J Clevo D410V Clevo D400V/D470V (not tested, but might work) @@ -134,6 +135,9 @@ config LEDS_CLEVO_MAIL Clevo M5x0N (not tested, but might work) Positivo Mobile (Clevo M5x0V) + If your model is not listed here you can try the "nodetect" + module paramter. + To compile this driver as a module, choose M here: the module will be called leds-clevo-mail. diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c index 5750b08..d78fe6c 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[] = { }, { .callback = clevo_mail_led_dmi_callback, + .ident = "Clevo D400P", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Clevo"), + DMI_MATCH(DMI_BOARD_NAME, "D400P"), + DMI_MATCH(DMI_BOARD_VERSION, "Rev.A"), + DMI_MATCH(DMI_PRODUCT_VERSION, "0106") + } + }, + { + .callback = clevo_mail_led_dmi_callback, .ident = "Clevo D410V", .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Clevo, Co."), |