aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-10 21:57:21 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-10 21:57:21 -0400
commitde9ce703c6b807b1dfef5942df4f2fadd0fdb67a (patch)
treeeb3e97c34d0d72fbd52cd688ef3f4ad3c559ad36 /drivers/input/serio/i8042.h
parent6d2750c167d47a97936cf4415165205f945c08f8 (diff)
Input: i8042 - get rid of polling timer
Remove polling timer that was used to detect keybord/mice hotplug and register both IRQs right away instead of waiting for a driver to attach to a port. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/serio/i8042.h')
-rw-r--r--drivers/input/serio/i8042.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/input/serio/i8042.h b/drivers/input/serio/i8042.h
index af526ab9ec04..b3eb7a72d961 100644
--- a/drivers/input/serio/i8042.h
+++ b/drivers/input/serio/i8042.h
@@ -37,15 +37,6 @@
37#define I8042_CTL_TIMEOUT 10000 37#define I8042_CTL_TIMEOUT 10000
38 38
39/* 39/*
40 * When the device isn't opened and it's interrupts aren't used, we poll it at
41 * regular intervals to see if any characters arrived. If yes, we can start
42 * probing for any mouse / keyboard connected. This is the period of the
43 * polling.
44 */
45
46#define I8042_POLL_PERIOD HZ/20
47
48/*
49 * Status register bits. 40 * Status register bits.
50 */ 41 */
51 42