]> git.proxmox.com Git - grub2.git/commitdiff
2006-10-26 Hollis Blanchard <hollis@penguinppc.org>
authorhollisb <hollisb@localhost>
Thu, 26 Oct 2006 23:11:22 +0000 (23:11 +0000)
committerhollisb <hollisb@localhost>
Thu, 26 Oct 2006 23:11:22 +0000 (23:11 +0000)
* kern/powerpc/ieee1275/openfw.c (grub_ieee1275_encode_devname):
Reverse GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS test.

ChangeLog
kern/powerpc/ieee1275/openfw.c

index 2f36c4dfcd051dfb56fd4f11a5da8dd933c828c5..fd4c0a37fbbfbe79aec46b3a5a678c3685af5576 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-26  Hollis Blanchard  <hollis@penguinppc.org>
+
+       * kern/powerpc/ieee1275/openfw.c (grub_ieee1275_encode_devname):
+       Reverse GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS test.
+
 2006-10-25  Jeroen Dekkers  <jeroen@dekkers.cx>
 
        * disk/lvm.c (grub_lvm_scan_device): Malloc sizeof(*lv) bytes
        * kern/misc.c (grub_strtoull): Guess the base only if not
        specified.
 
-2005-10-01  Hollis Blanchard  <hollis@penguinppc.org>
+2006-10-01  Hollis Blanchard  <hollis@penguinppc.org>
 
        * kern/powerpc/ieee1275/cmain.c (cmain): Remove incomplete Old World
        PowerMac support.
 
-2005-10-01  Hollis Blanchard  <hollis@penguinppc.org>
+2006-10-01  Hollis Blanchard  <hollis@penguinppc.org>
 
        * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Cast `size' to long.
 
        * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): Rename
        `devalias' to `aliases'.  Correct comments.  Consolidate error paths.
 
-2005-10-01  Hollis Blanchard  <hollis@penguinppc.org>
+2006-10-01  Hollis Blanchard  <hollis@penguinppc.org>
 
        * kern/ieee1275/ieee1275.c (grub_ieee1275_instance_to_path): Rename
        `instance_to_package_args' to `instance_to_path_args'.
        * term/ieee1275/ofconsole.c (grub_ofconsole_init): Call
        `grub_ieee1275_interpret'.
 
-2005-09-25  Hollis Blanchard  <hollis@penguinppc.org>
+2006-09-25  Hollis Blanchard  <hollis@penguinppc.org>
 
        * util/powerpc/ieee1275/grub-mkimage.c: Include config.h.
 
-2005-09-25  Hollis Blanchard  <hollis@penguinppc.org>
+2006-09-25  Hollis Blanchard  <hollis@penguinppc.org>
 
        * include/grub/powerpc/libgcc.h (__floatdisf): New prototype.
        (__cmpdi): Likewise.
index 1b193b2db4f2e961adb06c68aabd5e3f687723d0..4e4f4248c267227b310fb7c324b9b14b6ddb2fd8 100644 (file)
@@ -322,8 +322,8 @@ grub_ieee1275_encode_devname (const char *path)
     {
       unsigned int partno = grub_strtoul (partition, 0, 0);
 
-      /* GRUB partition numbering is 0-based.  */
-      if (! grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS))
+      if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS))
+       /* GRUB partition 1 is OF partition 0.  */
        partno--;
 
       /* Assume partno will require less than five bytes to encode.  */