[OpenBIOS] [PATCH 2/2] ppc: add kbd alias for keyboard device
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Sun Aug 7 16:39:36 CEST 2016
Some old bootloaders specifically look for the keyboard device via the
kbd alias, so add this to keep them happy.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
arch/ppc/qemu/qemu.fs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/ppc/qemu/qemu.fs b/arch/ppc/qemu/qemu.fs
index 3d99a34..d683421 100644
--- a/arch/ppc/qemu/qemu.fs
+++ b/arch/ppc/qemu/qemu.fs
@@ -73,7 +73,8 @@ variable keyboard-phandle 0 keyboard-phandle !
keyboard-phandle @ if
active-package
" /aliases" find-device
- keyboard-phandle @ get-package-path
+ keyboard-phandle @ get-package-path 2dup
+ encode-string " kbd" property
encode-string " keyboard" property
active-package!
then
--
1.7.10.4
More information about the OpenBIOS
mailing list