]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Input: atkbd - broaden the Dell DMI signatures
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 30 Dec 2008 08:43:11 +0000 (00:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Feb 2009 22:00:36 +0000 (14:00 -0800)
commit 2a3ec3265741c3b2a7ebbd1b33f538e5a5583c48 upstream.

Some Dells need the dell input quirk applied but have a different vendor
string in their DMI tables. Add an extra entry to cover these machines as
well.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/keyboard/atkbd.c

index c694eaae79869e364055c732dbdef44476c9a912..c66d03a4871194ea1c4029aab922cff9251530ff 100644 (file)
@@ -1485,6 +1485,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
                .callback = atkbd_setup_fixup,
                .driver_data = atkbd_dell_laptop_keymap_fixup,
        },
+       {
+               .ident = "Dell Laptop",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
+                       DMI_MATCH(DMI_CHASSIS_TYPE, "8"), /* Portable */
+               },
+               .callback = atkbd_setup_fixup,
+               .driver_data = atkbd_dell_laptop_keymap_fixup,
+       },
        {
                .ident = "HP 2133",
                .matches = {