aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/kexecboot/kexecboot-0.4/kexecboot-tosa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/kexecboot/kexecboot-0.4/kexecboot-tosa.patch')
-rw-r--r--recipes/kexecboot/kexecboot-0.4/kexecboot-tosa.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/kexecboot/kexecboot-0.4/kexecboot-tosa.patch b/recipes/kexecboot/kexecboot-0.4/kexecboot-tosa.patch
new file mode 100644
index 0000000000..e1f4870853
--- /dev/null
+++ b/recipes/kexecboot/kexecboot-0.4/kexecboot-tosa.patch
@@ -0,0 +1,24 @@
+Index: kexecboot-0.4/kexecboot.c
+===================================================================
+--- kexecboot-0.4.orig/kexecboot.c 2009-01-29 01:30:43.000000000 +0000
++++ kexecboot-0.4/kexecboot.c 2009-01-29 01:39:17.000000000 +0000
+@@ -416,7 +416,7 @@
+ {"Spitz", 270},
+
+ {"Collie", 270},
+- {"Tosa", 270},
++ {"SHARP Tosa", 0},
+ {"Poodle", 270},
+ {NULL, 0}
+ };
+@@ -566,7 +566,9 @@
+ break;
+ }
+
+- }while(evt.code != 87 && evt.code != 63);
++ }while(evt.code != 87 && evt.code != 63 &&
++ evt.code != KEY_SPACE && evt.code != KEY_ENTER &&
++ evt.code != KEY_HIRAGANA && evt.code != KEY_HENKAN);
+ fclose(f);
+ // reset terminal
+ tcsetattr(fileno(stdin), TCSANOW, &old);