From e9d827f788ab9db89024c65f1636a9c48f7c9a65 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 28 Sep 2003 20:17:49 -0700 Subject: [PATCH] Select the i8042 driver for mouse and keyboard only on PC's. Other architectures have other low-level serial chips. Make "PC" configuration shorthand (same as "X86 && !EMBEDDED" right now, but other PC-like architectures may start using it) --- arch/i386/Kconfig | 5 +++++ drivers/input/keyboard/Kconfig | 5 +++-- drivers/input/mouse/Kconfig | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 9606cd12a325d..0292065e0ad6c 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig @@ -1303,3 +1303,8 @@ config X86_TRAMPOLINE bool depends on SMP || X86_VISWS default y + +config PC + bool + depends on X86 && !EMBEDDED + default y diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 87474f8661e30..d385e4e208dfb 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -12,10 +12,11 @@ config INPUT_KEYBOARD If unsure, say Y. config KEYBOARD_ATKBD - tristate "AT keyboard support" if EMBEDDED || !X86 + tristate "AT keyboard support" if !PC default y depends on INPUT && INPUT_KEYBOARD - select SERIO_I8042 + select SERIO + select SERIO_I8042 if PC help Say Y here if you want to use a standard AT or PS/2 keyboard. Usually you'll need this, unless you have a different type keyboard (USB, ADB diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index c0da37c36d280..dd4cca4d53969 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig @@ -15,7 +15,8 @@ config MOUSE_PS2 tristate "PS/2 mouse" default y depends on INPUT && INPUT_MOUSE - select SERIO_I8042 + select SERIO + select SERIO_I8042 if PC ---help--- Say Y here if you have a PS/2 mouse connected to your system. This includes the standard 2 or 3-button PS/2 mouse, as well as PS/2 -- 2.53.0