From: Bruce Duncan Date: Wed, 30 Jan 2008 21:34:34 +0000 (-0500) Subject: Input: i8042 - enable DMI quirks on x86-64 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b4d62de16283d096e2e0dfe9d3395f5ba1b1352e;p=openwrt%2Fstaging%2Fblogic.git Input: i8042 - enable DMI quirks on x86-64 If firmware does not implement AUX_LOOP comand in 32 bit mode it is unlikely to implement it in 64 bit mode. Same goes for active multiplexing. See: http://bugzilla.kernel.org/show_bug.cgi?id=9664 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 0ceb84dc90fc..9efb90b52e32 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h @@ -63,7 +63,7 @@ static inline void i8042_write_command(int val) outb(val, I8042_COMMAND_REG); } -#if defined(__i386__) +#if defined(__i386__) || defined(__x86_64__) #include @@ -563,7 +563,7 @@ static int __init i8042_platform_init(void) i8042_reset = 1; #endif -#if defined(__i386__) +#if defined(__i386__) || defined(__x86_64__) if (dmi_check_system(i8042_dmi_noloop_table)) i8042_noloop = 1;