mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/7] i8042 option parsing
Date: Sat, 3 Jan 2004 03:57:43 -0500	[thread overview]
Message-ID: <200401030357.44852.dtor_core@ameritech.net> (raw)
In-Reply-To: <200401030356.48071.dtor_core@ameritech.net>

===================================================================


ChangeSet@1.1572, 2004-01-02 02:46:43-05:00, dtor_core@ameritech.net
  Input: 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"


 Documentation/kernel-parameters.txt |   16 +++++++++-------
 drivers/input/serio/i8042.c         |   18 ++++++++++++------
 2 files changed, 21 insertions(+), 13 deletions(-)


===================================================================



diff -Nru a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
--- a/Documentation/kernel-parameters.txt	Sat Jan  3 03:08:12 2004
+++ b/Documentation/kernel-parameters.txt	Sat Jan  3 03:08:12 2004
@@ -372,13 +372,15 @@
 
 	noirqbalance	[IA-32,SMP,KNL] Disable kernel irq balancing
 
-	i8042_direct	[HW] Keyboard has been put into non-translated mode 
-			by BIOS
-	i8042_dumbkbd	[HW] Don't attempt to blink the leds
-	i8042_noaux	[HW] Don't check for auxiliary (== mouse) port
-	i8042_nomux
-	i8042_reset	[HW] Reset the controller during init and cleanup
-	i8042_unlock	[HW] Unlock (ignore) the keylock
+	i8042.direct	[HW] Put keyboard port into non-translated mode 
+	i8042.dumbkbd	[HW] Pretend that controlled can only read data from
+			     keyboard and can not control its state
+			     (Don't attempt to blink the leds)
+	i8042.noaux	[HW] Don't check for auxiliary (== mouse) port
+	i8042.nomux	[HW] Don't check presence of an active multiplexing
+			     controller
+	i8042.reset	[HW] Reset the controller during init and cleanup
+	i8042.unlock	[HW] Unlock (ignore) the keylock
 
 	i810=		[HW,DRM]
 
diff -Nru a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
--- a/drivers/input/serio/i8042.c	Sat Jan  3 03:08:12 2004
+++ b/drivers/input/serio/i8042.c	Sat Jan  3 03:08:12 2004
@@ -29,22 +29,28 @@
 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"

  reply	other threads:[~2004-01-03  9:07 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-03  8:50 New set of input patches Dmitry Torokhov
2004-01-03  8:56 ` [PATCH 1/7] i8042 suspend Dmitry Torokhov
2004-01-03  8:57   ` Dmitry Torokhov [this message]
2004-01-03  9:00     ` [PATCH 3/7] psmouse option parsing Dmitry Torokhov
2004-01-03  9:01       ` [PATCH 4/7] atkbd " Dmitry Torokhov
2004-01-03  9:02         ` [PATCH 5/7] missing module licenses Dmitry Torokhov
2004-01-03  9:03           ` [PATCH 6/7] Kconfig Synaptics help Dmitry Torokhov
2004-01-03  9:03             ` [PATCH 7/7] SiS AUX port Dmitry Torokhov
2004-03-29 15:39             ` Dmitry Torokhov
2004-03-29 15:39           ` [PATCH 6/7] Kconfig Synaptics help Dmitry Torokhov
2004-03-29 15:39         ` [PATCH 5/7] missing module licenses Dmitry Torokhov
2004-01-03 10:07       ` [PATCH 3/7] psmouse option parsing Vojtech Pavlik
2004-01-03 17:29         ` Dmitry Torokhov
2004-01-03 17:38           ` Vojtech Pavlik
2004-03-29 15:40           ` Vojtech Pavlik
2004-03-29 15:40         ` Dmitry Torokhov
2004-03-29 15:39       ` [PATCH 4/7] atkbd " Dmitry Torokhov
2004-03-29 15:39       ` [PATCH 3/7] psmouse " Vojtech Pavlik
2004-03-29 15:39     ` Dmitry Torokhov
2004-01-03 10:03   ` [PATCH 1/7] i8042 suspend Vojtech Pavlik
2004-01-03 16:50     ` Dmitry Torokhov
2004-03-29 15:40     ` Dmitry Torokhov
2004-01-18 19:23   ` Russell King
2004-01-18 22:42     ` Dmitry Torokhov
2004-03-29 15:39   ` Vojtech Pavlik
2004-03-29 15:39   ` [PATCH 2/7] i8042 option parsing Dmitry Torokhov
2004-01-03 10:10 ` New set of input patches Vojtech Pavlik
2004-01-05  5:59 ` Dmitry Torokhov
2004-01-05  6:01   ` [PATCH 1/3] Fix compile error in 98busmouse.c module Dmitry Torokhov
2004-01-05  6:02     ` [PATCH 2/3] Convert mouse drivers to use module_param Dmitry Torokhov
2004-01-05  6:03       ` [PATCH 3/3] Convert tsdev " Dmitry Torokhov
2004-03-29 15:44       ` Dmitry Torokhov
2004-03-29 15:44     ` [PATCH 2/3] Convert mouse drivers " Dmitry Torokhov
2004-01-05  8:36   ` New set of input patches Vojtech Pavlik
2004-03-29 15:44   ` [PATCH 1/3] Fix compile error in 98busmouse.c module Dmitry Torokhov
2004-03-29 15:44   ` New set of input patches Vojtech Pavlik
2004-03-29 15:39 ` [PATCH 1/7] i8042 suspend Dmitry Torokhov
2004-03-29 15:39 ` New set of input patches Vojtech Pavlik
2004-03-29 15:44 ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200401030357.44852.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome