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.4 (requ...



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

description:
Pull up revision 1.4 (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/genfth.cf |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r a9567556e21c -r 2f8ff8aba317 sys/arch/sparc/stand/bootblk/genfth.cf
--- a/sys/arch/sparc/stand/bootblk/genfth.cf    Sat Jun 19 04:28:18 2004 +0000
+++ b/sys/arch/sparc/stand/bootblk/genfth.cf    Sat Jun 19 04:28:53 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genfth.cf,v 1.3 2003/04/05 08:58:55 he Exp $
+#      $NetBSD: genfth.cf,v 1.3.4.1 2004/06/19 04:28:53 grant Exp $
 
 #
 # Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -83,6 +83,7 @@
 include <ufs/ufs/dinode.h>
 include <ufs/ufs/dir.h>
 include <ufs/ffs/fs.h>
+include <dev/raidframe/raidframevar.h>
 
 #
 # ufs sizing constants
@@ -97,6 +98,9 @@
 # XXX: Will not work for UFS2!
 define sblock          SBLOCK_UFS1
 
+# RAID1 boot support
+define rf_protected    RF_PROTECTED_SECTORS
+
 #
 # ufs superblock
 #



Home | Main Index | Thread Index | Old Index