Skip to content

Commit bcd2623

Browse files
tegdtor
authored andcommitted
Input: allow deselecting serio drivers even without CONFIG_EXPERT
There is plenty of consumer hardware (e.g., mac books) that does not use AT keyboards or PS/2 mice. It therefore makes sense for distro kernels to build the related drivers as modules to avoid loading them on hardware that does not need them. As such, these options should no longer be protected by EXPERT. Moreover, building these drivers as modules gets rid of the following ugly error during boot: [ 2.337745] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 3.439537] i8042: No controller found Signed-off-by: Tom Gundersen <teg@jklm.no> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 7855127 commit bcd2623

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎drivers/input/keyboard/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Input core configuration
33
#
44
menuconfig INPUT_KEYBOARD
5-
bool "Keyboards" if EXPERT || !X86
5+
bool "Keyboards"
66
default y
77
help
88
Say Y here, and a list of supported keyboards will be displayed.
@@ -67,7 +67,7 @@ config KEYBOARD_ATARI
6767
module will be called atakbd.
6868

6969
config KEYBOARD_ATKBD
70-
tristate "AT keyboard" if EXPERT || !X86
70+
tristate "AT keyboard"
7171
default y
7272
select SERIO
7373
select SERIO_LIBPS2

‎drivers/input/serio/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Input core configuration
33
#
44
config SERIO
5-
tristate "Serial I/O support" if EXPERT || !X86
5+
tristate "Serial I/O support"
66
default y
77
help
88
Say Yes here if you have any input device that uses serial I/O to
@@ -19,7 +19,7 @@ config SERIO
1919
if SERIO
2020

2121
config SERIO_I8042
22-
tristate "i8042 PC Keyboard controller" if EXPERT || !X86
22+
tristate "i8042 PC Keyboard controller"
2323
default y
2424
depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && \
2525
(!SUPERH || SH_CAYMAN) && !M68K && !BLACKFIN && !S390 && \
@@ -170,7 +170,7 @@ config SERIO_MACEPS2
170170
module will be called maceps2.
171171

172172
config SERIO_LIBPS2
173-
tristate "PS/2 driver library" if EXPERT
173+
tristate "PS/2 driver library"
174174
depends on SERIO_I8042 || SERIO_I8042=n
175175
help
176176
Say Y here if you are using a driver for device connected

0 commit comments

Comments
 (0)