]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Input: remove synaptics config option
authorDmitry Torokhov <dtor_core@ameritech.net>
Thu, 18 Dec 2003 13:35:52 +0000 (05:35 -0800)
committerDmitry Torokhov <dtor_core@ameritech.net>
Thu, 18 Dec 2003 13:35:52 +0000 (05:35 -0800)
Remove Synaptics config option.  Since mousedev was fixed with regard to
touchpads generating absolute events there should no troubles for users
migrating from older kernel or different hardware so we can have it always
compiled in.

drivers/input/mouse/Kconfig
drivers/input/mouse/psmouse-base.c

index dd4cca4d5396905b0cebac97d0452ec523f328c9..654bc36e39c80e96a51db88601b1baa7eeab840b 100644 (file)
@@ -23,27 +23,18 @@ config MOUSE_PS2
          mice with wheels and extra buttons, Microsoft, Logitech or Genius
          compatible.
 
+         Synaptics TouchPad users might be interested in a specialized
+         XFree86 driver at:
+               http://w1.894.telia.com/~u89404340/touchpad/index.html
+         and a new verion of GPM at:
+               http://www.geocities.com/dt_or/gpm/gpm.html
+         to take advantage of the advanced features of the touchpad.
+
          If unsure, say Y.
 
          To compile this driver as a module, choose M here: the
          module will be called psmouse.
 
-config MOUSE_PS2_SYNAPTICS
-       bool "Synaptics TouchPad"
-       default n
-       depends on INPUT && INPUT_MOUSE && MOUSE_PS2
-       ---help---
-         Say Y here if you have a Synaptics TouchPad connected to your system.
-         This touchpad is found on many modern laptop computers.
-
-         Note that you also need a user space driver to interpret the data
-         generated by the kernel. A compatible driver for XFree86 is available
-         from http://w1.894.telia.com/~u89404340/touchpad/index.html
-
-         The gpm program is not yet able to interpret the data from this
-         driver, so if you need to use the touchpad in the console, you have to
-         say N for now.
-
 config MOUSE_SERIAL
        tristate "Serial mouse"
        depends on INPUT && INPUT_MOUSE
index eccb4a344c10008e30e8c205176fc9b401979633..f54fc3f5a6ff40f38b72246e275ddeae3b668c95 100644 (file)
@@ -337,13 +337,12 @@ static int psmouse_extensions(struct psmouse *psmouse)
                psmouse->vendor = "Synaptics";
                psmouse->name = "TouchPad";
 
-#if CONFIG_MOUSE_PS2_SYNAPTICS
-               if (psmouse_max_proto > PSMOUSE_IMEX && synaptics_init(psmouse) == 0)
+               if (psmouse_max_proto > PSMOUSE_IMEX &&
+                                       synaptics_init(psmouse) == 0)
                        return PSMOUSE_SYNAPTICS;
-#endif
                /*
-                * Synaptics hardware (according to Peter Berg Larsen) can get confused
-                * by protocol probes below so we have to stop here
+                * Synaptics hardware (according to Peter Berg Larsen) can get
+                * confused by protocol probes below so we have to stop here
                 */
                return PSMOUSE_PS2;
        }
@@ -367,7 +366,8 @@ static int psmouse_extensions(struct psmouse *psmouse)
        if (psmouse_max_proto >= PSMOUSE_IMPS && intellimouse_detect(psmouse)) {
                set_bit(REL_WHEEL, psmouse->dev.relbit);
 
-               if (psmouse_max_proto >= PSMOUSE_IMEX && im_explorer_detect(psmouse)) {
+               if (psmouse_max_proto >= PSMOUSE_IMEX &&
+                                       im_explorer_detect(psmouse)) {
                        set_bit(BTN_SIDE, psmouse->dev.keybit);
                        set_bit(BTN_EXTRA, psmouse->dev.keybit);