Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/arch/sparc/stand/bootblk Pull up revision 1.6 (requ...



details:   https://anonhg.NetBSD.org/src/rev/a9567556e21c
branches:  netbsd-2-0
changeset: 561468:a9567556e21c
user:      grant <grant%NetBSD.org@localhost>
date:      Sat Jun 19 04:28:18 2004 +0000

description:
Pull up revision 1.6 (requested by martin in ticket #510):

Use RF_PROTECTED_SECTORS instead of a (wrong) magic value.
The bootblock now is able to load ofwboot from a raid1 root.

diffstat:

 sys/arch/sparc/stand/bootblk/bootblk.fth |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8dbadb163775 -r a9567556e21c sys/arch/sparc/stand/bootblk/bootblk.fth
--- a/sys/arch/sparc/stand/bootblk/bootblk.fth  Fri Jun 18 10:15:00 2004 +0000
+++ b/sys/arch/sparc/stand/bootblk/bootblk.fth  Sat Jun 19 04:28:18 2004 +0000
@@ -1,4 +1,4 @@
-\      $NetBSD: bootblk.fth,v 1.5 2003/04/05 08:58:55 he Exp $
+\      $NetBSD: bootblk.fth,v 1.5.4.1 2004/06/19 04:28:18 grant Exp $
 \
 \      IEEE 1275 Open Firmware Boot Block
 \
@@ -441,7 +441,7 @@
    then 2drop
    sboff read-super
    sb-buf fs_magic l@ fs_magic_value <>  if
-      64 dup to raid-offset 
+      rf_protected dup to raid-offset 
       dev_bsize * sboff + read-super
       sb-buf fs_magic l@ fs_magic_value <>  if
          ." Invalid superblock magic" cr



Home | Main Index | Thread Index | Old Index