[OpenBIOS] [Patch] Fix model string

Programmingkid programmingkidx at gmail.com
Wed Feb 6 19:28:49 CET 2013


This patch corrects the model string so OpenBIOS reports a value of PowerMac1,1. This string represents the blue and white Power Mac G3. 

signed-off-by: John Arbuckle <programmingkidx at gmail.com>

Index: arch/ppc/qemu/init.c
===================================================================
--- arch/ppc/qemu/init.c	(revision 1098)
+++ arch/ppc/qemu/init.c	(working copy)
@@ -734,12 +734,12 @@
 
         /* model */
 
-        push_str("PowerMac2,1");
+        push_str("PowerMac1,1");
         fword("model");
 
         /* compatible */
 
-        push_str("PowerMac2,1");
+        push_str("PowerMac1,1");
         fword("encode-string");
         push_str("MacRISC");
         fword("encode-string");




More information about the OpenBIOS mailing list