diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-18 18:08:07 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-18 18:08:07 -0800 |
| commit | 687e435aee8e38fdea38c0d8a9d299adb855c2b9 (patch) | |
| tree | c70737ba9ff294173ff042f04dc43ade2ea76541 /drivers | |
| parent | b54d1725a28dab948bb94cec2bfc7d9631182114 (diff) | |
[PATCH] input: i8042 option parsing
From: Dmitry Torokhov <dtor_core@ameritech.net>
With Vojtech's approval adjusted i8042 option names by dropping i8042_
prefix.
If i8042 is compiled as a module new option names are: direct, dumbkbd,
noaux, nomux, reset, unlock.
If i8042 is build in the kernel the prefix "i8042." is required in front of
an option, like "i8042.reset"
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/input/serio/i8042.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 7a997d8d0934..dab002a13a70 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -29,22 +29,28 @@ MODULE_DESCRIPTION("i8042 keyboard and mouse controller driver"); MODULE_LICENSE("GPL"); static unsigned int i8042_noaux; -module_param(i8042_noaux, bool, 0); +module_param_named(noaux, i8042_noaux, bool, 0); +MODULE_PARM_DESC(noaux, "Do not probe or use AUX (mouse) port."); static unsigned int i8042_nomux; -module_param(i8042_nomux, bool, 0); +module_param_named(nomux, i8042_nomux, bool, 0); +MODULE_PARM_DESC(nomux, "Do not check whether an active multiplexing conrtoller is present."); static unsigned int i8042_unlock; -module_param(i8042_unlock, bool, 0); +module_param_named(unlock, i8042_unlock, bool, 0); +MODULE_PARM_DESC(unlock, "Ignore keyboard lock."); static unsigned int i8042_reset; -module_param(i8042_reset, bool, 0); +module_param_named(reset, i8042_reset, bool, 0); +MODULE_PARM_DESC(reset, "Reset controller during init and cleanup."); static unsigned int i8042_direct; -module_param(i8042_direct, bool, 0); +module_param_named(direct, i8042_direct, bool, 0); +MODULE_PARM_DESC(direct, "Put keyboard port into non-translated mode."); static unsigned int i8042_dumbkbd; -module_param(i8042_dumbkbd, bool, 0); +module_param_named(dumbkbd, i8042_dumbkbd, bool, 0); +MODULE_PARM_DESC(dumbkbd, "Pretend that controller can only read data from keyboard"); #undef DEBUG #include "i8042.h" |
