[OpenBIOS] r123 - openbios-devel/drivers

svn at openbios.org svn at openbios.org
Sun Apr 15 07:46:26 CEST 2007


Author: blueswirl
Date: 2007-04-15 07:46:25 +0200 (Sun, 15 Apr 2007)
New Revision: 123

Modified:
   openbios-devel/drivers/esp.c
   openbios-devel/drivers/obio.c
Log:
Fix Sparc32 properties with wrong encoding

Modified: openbios-devel/drivers/esp.c
===================================================================
--- openbios-devel/drivers/esp.c	2007-04-15 00:41:40 UTC (rev 122)
+++ openbios-devel/drivers/esp.c	2007-04-15 05:46:25 UTC (rev 123)
@@ -432,7 +432,6 @@
     push_str(device);
     fword("encode-string");
     push_str(alias);
-    fword("encode-string");
     fword("property");
 }
 

Modified: openbios-devel/drivers/obio.c
===================================================================
--- openbios-devel/drivers/obio.c	2007-04-15 00:41:40 UTC (rev 122)
+++ openbios-devel/drivers/obio.c	2007-04-15 05:46:25 UTC (rev 123)
@@ -405,23 +405,29 @@
     switch (machine_id) {
     case 0x72:
         push_str("SPARCstation 10 (1 X 390Z55)");
+        fword("encode-string");
         push_str("banner-name");
         fword("property");
         push_str("SUNW,S10,501-2365");
+        fword("encode-string");
         push_str("model");
         fword("property");
         push_str("SUNW,SPARCstation-10");
+        fword("encode-string");
         push_str("name");
         fword("property");
         break;
     case 0x80:
         push_str("SPARCstation 5");
-        push_str("name");
+        fword("encode-string");
+        push_str("banner-name");
         fword("property");
         push_str("SUNW,501-3059");
+        fword("encode-string");
         push_str("model");
         fword("property");
         push_str("SUNW,SPARCstation-5");
+        fword("encode-string");
         push_str("name");
         fword("property");
         break;
@@ -455,6 +461,7 @@
         fword("property");
 
         push_str("");
+        fword("encode-string");
         push_str("cache-physical?");
         fword("property");
 
@@ -566,13 +573,11 @@
     push_str(stdin);
     fword("encode-string");
     push_str("stdin-path");
-    fword("encode-string");
     fword("property");
 
     push_str(stdout);
     fword("encode-string");
     push_str("stdout-path");
-    fword("encode-string");
     fword("property");
 
     obp_stdin_path = stdin;




More information about the OpenBIOS mailing list