[PATCH 2/4] Fix atkbd_softrepeat kernel command line parameter.

From: Vojtech Pavlik
Date: Mon Sep 29 2003 - 13:33:06 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input

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

ChangeSet@xxxxxxxxxx, 2003-09-28 18:48:05+02:00, vojtech@xxxxxxx
input: Fix atkbd_softrepeat kernel command line parameter.


atkbd.c | 8 ++++++++
1 files changed, 8 insertions(+)

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

diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
--- a/drivers/input/keyboard/atkbd.c Mon Sep 29 19:37:08 2003
+++ b/drivers/input/keyboard/atkbd.c Mon Sep 29 19:37:08 2003
@@ -707,9 +707,17 @@
if (ints[0] > 0) atkbd_reset = ints[1];
return 1;
}
+static int __init atkbd_setup_softrepeat(char *str)
+{
+ int ints[4];
+ str = get_options(str, ARRAY_SIZE(ints), ints);
+ if (ints[0] > 0) atkbd_softrepeat = ints[1];
+ return 1;
+}

__setup("atkbd_set=", atkbd_setup_set);
__setup("atkbd_reset", atkbd_setup_reset);
+__setup("atkbd_softrepeat=", atkbd_setup_softrepeat);
#endif

int __init atkbd_init(void)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/