Messages in this thread Patch in this message |  | | | Date | Wed, 15 Oct 2003 00:48:37 +0000 | | From | Eric Wong <> | | Subject | Re: mouse driver bug in 2.6.0-test7? |
| |
Vojtech Pavlik <vojtech@suse.cz> wrote: > On Tue, Oct 14, 2003 at 01:04:03PM -0700, 4Front Technologies wrote: > > I'd recommend that you make the sample rate a module config option so that > > users may be able to tweak this for their systems. > > It already is. Only the code to make it a kernel command line parameter > (when psmouse is compiled into the kernel) is missing.
I could've sworn I had this in one of the patches I sent you, but perhaps not.
--- drivers/input/mouse/psmouse-base.c~ 2003-10-13 06:13:52.000000000 +0000 +++ drivers/input/mouse/psmouse-base.c 2003-10-15 00:21:59.000000000 +0000 @@ -651,10 +651,17 @@ return 1; } +static int __init psmouse_rate_setup(char *str) +{ + get_option(&str, &psmouse_rate); + return 1; +} + __setup("psmouse_noext", psmouse_noext_setup); __setup("psmouse_resolution=", psmouse_resolution_setup); __setup("psmouse_smartscroll=", psmouse_smartscroll_setup); __setup("psmouse_resetafter=", psmouse_resetafter_setup); +__setup("psmouse_rate=", psmouse_rate_setup); #endif -- Eric Wong - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |