Lines 67-72
static bool i8042_notimeout;
Link Here
|
67 |
module_param_named(notimeout, i8042_notimeout, bool, 0); |
67 |
module_param_named(notimeout, i8042_notimeout, bool, 0); |
68 |
MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042"); |
68 |
MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042"); |
69 |
|
69 |
|
|
|
70 |
static bool i8042_kbdreset; |
71 |
module_param_named(kbdreset, i8042_kbdreset, bool, 0); |
72 |
MODULE_PARM_DESC(kbdreset, "Reset keyboard to make trackpad work"); |
73 |
|
70 |
#ifdef CONFIG_X86 |
74 |
#ifdef CONFIG_X86 |
71 |
static bool i8042_dritek; |
75 |
static bool i8042_dritek; |
72 |
module_param_named(dritek, i8042_dritek, bool, 0); |
76 |
module_param_named(dritek, i8042_dritek, bool, 0); |
Lines 789-794
static int __init i8042_check_aux(void)
Link Here
|
789 |
if (i8042_toggle_aux(true)) |
793 |
if (i8042_toggle_aux(true)) |
790 |
return -1; |
794 |
return -1; |
791 |
|
795 |
|
|
|
796 |
/* To make trackpad work on many Gigabyte laptop models containg Elantech trackpad */ |
797 |
if (i8042_kbdreset) |
798 |
i8042_kbd_write(NULL, (unsigned char) 0xff); |
799 |
|
792 |
/* |
800 |
/* |
793 |
* Test AUX IRQ delivery to make sure BIOS did not grab the IRQ and |
801 |
* Test AUX IRQ delivery to make sure BIOS did not grab the IRQ and |
794 |
* used it for a PCI card or somethig else. |
802 |
* used it for a PCI card or somethig else. |