35f47e6
diff -ruNp seabios-0.6.2.orig/Makefile seabios-0.6.2/Makefile
35f47e6
--- seabios-0.6.2.orig/Makefile	2011-07-13 10:52:50.000000000 -0500
35f47e6
+++ seabios-0.6.2/Makefile	2011-07-13 11:14:14.000000000 -0500
35f47e6
@@ -5,7 +5,7 @@
35f47e6
 # This file may be distributed under the terms of the GNU LGPLv3 license.
35f47e6
 
35f47e6
 # Program version
35f47e6
-VERSION=0.6.2-$(shell date +"%Y%m%d_%H%M%S")-$(shell hostname)
35f47e6
+VERSION=0.6.2
35f47e6
 
35f47e6
 # Output directory
35f47e6
 OUT=out/
35f47e6
diff -ruNp seabios-0.6.2.orig/src/ahci.c seabios-0.6.2/src/ahci.c
35f47e6
--- seabios-0.6.2.orig/src/ahci.c	2011-07-13 10:52:50.000000000 -0500
35f47e6
+++ seabios-0.6.2/src/ahci.c	2011-07-13 11:14:14.000000000 -0500
35f47e6
@@ -408,7 +408,6 @@ static void
35f47e6
 ahci_detect(void *data)
35f47e6
 {
35f47e6
     struct ahci_ctrl_s *ctrl = data;
35f47e6
-    struct ahci_port_s *port;
35f47e6
     u32 pnr, max;
35f47e6
     int rc;
35f47e6
 
35f47e6
@@ -422,7 +421,7 @@ ahci_detect(void *data)
35f47e6
         dprintf(1, "AHCI/%d: link %s\n", pnr, rc == 0 ? "up" : "down");
35f47e6
         if (rc != 0)
35f47e6
             continue;
35f47e6
-        port = ahci_port_init(ctrl, pnr);
35f47e6
+        ahci_port_init(ctrl, pnr);
35f47e6
     }
35f47e6
 }
35f47e6
 
35f47e6
diff -ruNp seabios-0.6.2.orig/src/bregs.h seabios-0.6.2/src/bregs.h
35f47e6
--- seabios-0.6.2.orig/src/bregs.h	2011-07-13 10:52:50.000000000 -0500
35f47e6
+++ seabios-0.6.2/src/bregs.h	2011-07-13 11:16:04.000000000 -0500
35f47e6
@@ -37,9 +37,9 @@
35f47e6
 struct bregs {
35f47e6
     u16 ds;
35f47e6
     u16 es;
35f47e6
-    UREG(edi, di, di_hi, di_lo);
35f47e6
-    UREG(esi, si, si_hi, si_lo);
35f47e6
-    UREG(ebp, bp, bp_hi, bp_lo);
35f47e6
+    UREG(edi, di, di8u, di8l);
35f47e6
+    UREG(esi, si, si8u, si8l);
35f47e6
+    UREG(ebp, bp, bp8u, bp8l);
35f47e6
     UREG(ebx, bx, bh, bl);
35f47e6
     UREG(edx, dx, dh, dl);
35f47e6
     UREG(ecx, cx, ch, cl);
35f47e6
Binary files seabios-0.6.2.orig/tools/layoutrom.pyc and seabios-0.6.2/tools/layoutrom.pyc differ