X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Finput%2Fserio%2Fi8042.h;h=cbbf3842da5bb353703757beeeaf8ff6da5967dc;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=500112b7b93d5a1e6c697419ebffa8629615daa9;hpb=6a77f38946aaee1cd85eeec6cf4229b204c15071;p=linux-2.6.git diff --git a/drivers/input/serio/i8042.h b/drivers/input/serio/i8042.h index 500112b7b..cbbf3842d 100644 --- a/drivers/input/serio/i8042.h +++ b/drivers/input/serio/i8042.h @@ -21,7 +21,7 @@ #include "i8042-ip22io.h" #elif defined(CONFIG_PPC) #include "i8042-ppcio.h" -#elif defined(CONFIG_SPARC32) || defined(CONFIG_SPARC64) +#elif defined(CONFIG_SPARC) #include "i8042-sparcio.h" #elif defined(CONFIG_X86) || defined(CONFIG_IA64) #include "i8042-x86ia64io.h" @@ -100,10 +100,10 @@ /* * Expected maximum internal i8042 buffer size. This is used for flushing - * the i8042 buffers. 32 should be more than enough. + * the i8042 buffers. */ -#define I8042_BUFFER_SIZE 32 +#define I8042_BUFFER_SIZE 16 /* * Number of AUX ports on controllers supporting active multiplexing @@ -117,13 +117,13 @@ */ #ifdef DEBUG -static unsigned long i8042_start; -#define dbg_init() do { i8042_start = jiffies; } while (0) +static unsigned long i8042_start_time; +#define dbg_init() do { i8042_start_time = jiffies; } while (0) #define dbg(format, arg...) \ do { \ if (i8042_debug) \ printk(KERN_DEBUG __FILE__ ": " format " [%d]\n" , \ - ## arg, (int) (jiffies - i8042_start)); \ + ## arg, (int) (jiffies - i8042_start_time)); \ } while (0) #else #define dbg_init() do { } while (0)