Commit e9d827f7 authored by Linus Torvalds's avatar Linus Torvalds

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)
parent 80ce9ebe
...@@ -1303,3 +1303,8 @@ config X86_TRAMPOLINE ...@@ -1303,3 +1303,8 @@ config X86_TRAMPOLINE
bool bool
depends on SMP || X86_VISWS depends on SMP || X86_VISWS
default y default y
config PC
bool
depends on X86 && !EMBEDDED
default y
...@@ -12,10 +12,11 @@ config INPUT_KEYBOARD ...@@ -12,10 +12,11 @@ config INPUT_KEYBOARD
If unsure, say Y. If unsure, say Y.
config KEYBOARD_ATKBD config KEYBOARD_ATKBD
tristate "AT keyboard support" if EMBEDDED || !X86 tristate "AT keyboard support" if !PC
default y default y
depends on INPUT && INPUT_KEYBOARD depends on INPUT && INPUT_KEYBOARD
select SERIO_I8042 select SERIO
select SERIO_I8042 if PC
help help
Say Y here if you want to use a standard AT or PS/2 keyboard. Usually 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 you'll need this, unless you have a different type keyboard (USB, ADB
......
...@@ -15,7 +15,8 @@ config MOUSE_PS2 ...@@ -15,7 +15,8 @@ config MOUSE_PS2
tristate "PS/2 mouse" tristate "PS/2 mouse"
default y default y
depends on INPUT && INPUT_MOUSE depends on INPUT && INPUT_MOUSE
select SERIO_I8042 select SERIO
select SERIO_I8042 if PC
---help--- ---help---
Say Y here if you have a PS/2 mouse connected to your system. This 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 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment