Staging: samsung-laptop: add a bunch more laptop DMI signatures
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 21:19:03 +0000 (13:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 21:19:03 +0000 (13:19 -0800)
Taken from the fork of the driver at:
http://code.google.com/p/easy-slow-down-manager/
which should no longer be needed now that the in-kernel driver now
supports these laptops.

Cc: Kobelkov Sergey <sergeyko81@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/samsung-laptop/samsung-laptop.c

index 5b2059d8da1df53dbebbfc353273231ce6367937..51ec6216b1ea46b3a93801fb04595b60c5fa12f2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Samsung N130 Laptop driver
+ * Samsung Laptop driver
  *
  * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de)
  * Copyright (C) 2009 Novell Inc.
@@ -544,6 +544,54 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
                },
                .callback = dmi_check_cb,
                },
+       {
+               .ident = "X360",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR,
+                                       "SAMSUNG ELECTRONICS CO., LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "X360"),
+                       DMI_MATCH(DMI_BOARD_NAME, "X360"),
+               },
+               .callback = dmi_check_cb,
+       },
+       {
+               .ident = "R518",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR,
+                                       "SAMSUNG ELECTRONICS CO., LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "R518"),
+                       DMI_MATCH(DMI_BOARD_NAME, "R518"),
+               },
+               .callback = dmi_check_cb,
+       },
+       {
+               .ident = "N150/N210/N220",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR,
+                                       "SAMSUNG ELECTRONICS CO., LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "N150/N210/N220"),
+                       DMI_MATCH(DMI_BOARD_NAME, "N150/N210/N220"),
+               },
+               .callback = dmi_check_cb,
+       },
+       {
+               .ident = "R530/R730",
+               .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "R530/R730"),
+                     DMI_MATCH(DMI_BOARD_NAME, "R530/R730"),
+               },
+               .callback = dmi_check_cb,
+       },
+       {
+               .ident = "NF110/NF210/NF310",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "NF110/NF210/NF310"),
+                       DMI_MATCH(DMI_BOARD_NAME, "NF110/NF210/NF310"),
+               },
+               .callback = dmi_check_cb,
+       },
        { },
 };
 MODULE_DEVICE_TABLE(dmi, samsung_dmi_table);