From c5ceccb8fc06fbac4b69fd0312c768100277e37f Mon Sep 17 00:00:00 2001 From: Shile Zhang Date: Tue, 24 Sep 2019 11:33:56 +0800 Subject: [PATCH] configs: compile mouse driver as modules for qboot optimization PS/2 mouse device probing costs more than 600ms after mouse driver was initialized. To compile it as modules can make the probing parallel with init(systemd) startup, which can save about 600ms startup time. Signed-off-by: Shile Zhang Acked-by: Joseph Qi --- config-4.19.y-x86_64 | 4 ++-- config-4.19.y-x86_64-debug | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config-4.19.y-x86_64 b/config-4.19.y-x86_64 index 5999c4967e4b..48faca86bc69 100644 --- a/config-4.19.y-x86_64 +++ b/config-4.19.y-x86_64 @@ -2088,7 +2088,7 @@ CONFIG_INPUT_MATRIXKMAP=y # # Userland interfaces # -CONFIG_INPUT_MOUSEDEV=y +CONFIG_INPUT_MOUSEDEV=m # CONFIG_INPUT_MOUSEDEV_PSAUX is not set CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 @@ -2120,7 +2120,7 @@ CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_XTKBD is not set CONFIG_INPUT_MOUSE=y -CONFIG_MOUSE_PS2=y +CONFIG_MOUSE_PS2=m CONFIG_MOUSE_PS2_ALPS=y # CONFIG_MOUSE_PS2_BYD is not set CONFIG_MOUSE_PS2_LOGIPS2PP=y diff --git a/config-4.19.y-x86_64-debug b/config-4.19.y-x86_64-debug index 607fdc6776c6..50c9cc4192f9 100644 --- a/config-4.19.y-x86_64-debug +++ b/config-4.19.y-x86_64-debug @@ -2091,7 +2091,7 @@ CONFIG_INPUT_MATRIXKMAP=y # # Userland interfaces # -CONFIG_INPUT_MOUSEDEV=y +CONFIG_INPUT_MOUSEDEV=m # CONFIG_INPUT_MOUSEDEV_PSAUX is not set CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 @@ -2123,7 +2123,7 @@ CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_XTKBD is not set CONFIG_INPUT_MOUSE=y -CONFIG_MOUSE_PS2=y +CONFIG_MOUSE_PS2=m CONFIG_MOUSE_PS2_ALPS=y # CONFIG_MOUSE_PS2_BYD is not set CONFIG_MOUSE_PS2_LOGIPS2PP=y -- GitLab