From: Matthew Garrett Date: Tue, 30 Dec 2008 08:43:11 +0000 (-0800) Subject: Input: atkbd - broaden the Dell DMI signatures X-Git-Tag: v2.6.27.15~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c317f779676cf7226d3a8185a5fc8cd4bc58c2de;p=thirdparty%2Fkernel%2Fstable.git Input: atkbd - broaden the Dell DMI signatures 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 Signed-off-by: Dmitry Torokhov Cc: Chuck Ebbert Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index c694eaae79869..c66d03a487119 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c @@ -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 = {