[PATCH] Sane defaults for the input layer configuration

From: Petr Baudis (pasky@ucw.cz)
Date: Sun Nov 03 2002 - 17:32:45 EST


  Hello,

  this patch (against 2.5.45) introduces sane defaults for the input layer
configuration. The most common options default to yes now, so that with simply
accepting defaults provided by make oldconfig, the 2.4 configuration can be
converted to 2.5 configuration while preserving the basic keyboard, mouse and
serial port support. This should prevent most users confusion when configuring
their first 2.5 kernel. Please apply.

 drivers/input/Kconfig | 2 ++
 drivers/input/keyboard/Kconfig | 2 ++
 drivers/input/mouse/Kconfig | 2 ++
 drivers/input/serio/Kconfig | 3 +++
 4 files changed, 9 insertions(+)

  Kind regards,
                                Petr Baudis

diff -ru linux/drivers/input/Kconfig linux+pasky/drivers/input/Kconfig
--- linux/drivers/input/Kconfig Fri Nov 1 22:21:33 2002
+++ linux+pasky/drivers/input/Kconfig Sun Nov 3 23:21:35 2002
@@ -28,6 +28,7 @@
 
 config INPUT_MOUSEDEV
         tristate "Mouse interface"
+ default y
         depends on INPUT
         ---help---
           Say Y here if you want your mouse to be accessible as char devices
@@ -45,6 +46,7 @@
 
 config INPUT_MOUSEDEV_PSAUX
         bool "Provide legacy /dev/psaux device"
+ default y
         depends on INPUT_MOUSEDEV
 
 config INPUT_MOUSEDEV_SCREEN_X
diff -ru linux/drivers/input/keyboard/Kconfig linux+pasky/drivers/input/keyboard/Kconfig
--- linux/drivers/input/keyboard/Kconfig Fri Nov 1 22:21:34 2002
+++ linux+pasky/drivers/input/keyboard/Kconfig Sun Nov 3 23:24:40 2002
@@ -3,6 +3,7 @@
 #
 config INPUT_KEYBOARD
         bool "Keyboards"
+ default y
         depends on INPUT
         help
           Say Y here, and a list of supported keyboards will be displayed.
@@ -12,6 +13,7 @@
 
 config KEYBOARD_ATKBD
         tristate "AT keyboard support"
+ default y
         depends on INPUT && INPUT_KEYBOARD && SERIO
         ---help---
           Say Y here if you want to use the standard AT keyboard. Usually
diff -ru linux/drivers/input/mouse/Kconfig linux+pasky/drivers/input/mouse/Kconfig
--- linux/drivers/input/mouse/Kconfig Fri Nov 1 22:21:34 2002
+++ linux+pasky/drivers/input/mouse/Kconfig Sun Nov 3 23:22:27 2002
@@ -3,6 +3,7 @@
 #
 config INPUT_MOUSE
         bool "Mice"
+ default y
         depends on INPUT
         help
           Say Y here, and a list of supported mice will be displayed.
@@ -12,6 +13,7 @@
 
 config MOUSE_PS2
         tristate "PS/2 mouse"
+ default y
         depends on INPUT && INPUT_MOUSE && SERIO
         ---help---
           Say Y here if you have a PS/2 mouse connected to your system. This
diff -ru linux/drivers/input/serio/Kconfig linux+pasky/drivers/input/serio/Kconfig
--- linux/drivers/input/serio/Kconfig Fri Nov 1 22:21:34 2002
+++ linux+pasky/drivers/input/serio/Kconfig Sun Nov 3 23:22:58 2002
@@ -3,6 +3,7 @@
 #
 config SERIO
         tristate "Serial i/o support"
+ default y
         ---help---
           Say Yes here if you have any input device that uses serial I/O to
           communicate with the system. This includes the
@@ -19,6 +20,7 @@
 
 config SERIO_I8042
         tristate "i8042 PC Keyboard controller"
+ default y
         depends on SERIO
         ---help---
           i8042 is the chip over which the standard AT keyboard and PS/2
@@ -34,6 +36,7 @@
 
 config SERIO_SERPORT
         tristate "Serial port line discipline"
+ default y
         depends on SERIO
         ---help---
           Say Y here if you plan to use an input device (mouse, joystick,
-
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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:31 EST