]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
leds: Add mail LED support for "Clevo D400P"
authorMrton Nmeth <nm127@freemail.hu>
Sun, 9 Mar 2008 20:47:59 +0000 (20:47 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Thu, 24 Apr 2008 22:34:18 +0000 (23:34 +0100)
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>
drivers/leds/Kconfig
drivers/leds/leds-clevo-mail.c

index eb97c4113d786d25d5106bbf71a78e7581ea3391..4f56248fed4e46600221e6bbab4808eddfefeb4a 100644 (file)
@@ -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.
 
index 5750b08b601fe21e713f6a402554e88078060e68..d78fe6cd5a52586053d2d2bb0a0d8cd79c73cc69 100644 (file)
@@ -67,6 +67,16 @@ static struct dmi_system_id __initdata mail_led_whitelist[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "VT6198")
                }
        },
+       {
+               .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",