summaryrefslogtreecommitdiffstats
path: root/sys-kernel/boest-v4.4.198/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/boest-v4.4.198/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch')
-rw-r--r--sys-kernel/boest-v4.4.198/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-kernel/boest-v4.4.198/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch b/sys-kernel/boest-v4.4.198/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch
new file mode 100644
index 00000000..d6f92c76
--- /dev/null
+++ b/sys-kernel/boest-v4.4.198/0005-pool-2.6.25-disable-kbdrate-at-boot.diff.patch
@@ -0,0 +1,34 @@
+From cdcf4a1f0204133ab23d41160baa7f1e0fff338d Mon Sep 17 00:00:00 2001
+From: Willy Tarreau <w@1wt.eu>
+Date: Sun, 15 Feb 2009 14:51:33 +0100
+Subject: [PATCH 05/20] pool/2.6.25-disable-kbdrate-at-boot.diff
+
+From http://linux.1wt.eu/alix/kernel-src/2.6.27-wt11/patches-2.6.27-wt11.tar.bz2
+
+Reviewed-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
+---
+ arch/x86/boot/main.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/x86/boot/main.c b/arch/x86/boot/main.c
+index 9bcea386db65..fd2d8e4e7d3a 100644
+--- a/arch/x86/boot/main.c
++++ b/arch/x86/boot/main.c
+@@ -64,6 +64,8 @@ static void copy_boot_params(void)
+ */
+ static void keyboard_init(void)
+ {
++/*This may take several seconds if the system has no kbd controller */
++#ifdef CONFIG_INPUT_KEYBOARD
+ struct biosregs ireg, oreg;
+ initregs(&ireg);
+
+@@ -73,6 +75,7 @@ static void keyboard_init(void)
+
+ ireg.ax = 0x0305; /* Set keyboard repeat rate */
+ intcall(0x16, &ireg, NULL);
++#endif
+ }
+
+ /*