Subject: CVS commit: src/sys/arch/sparc/stand/common
To: None <source-changes@NetBSD.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 06/20/2006 05:41:59
Module Name: src
Committed By: jdc
Date: Tue Jun 20 05:41:59 UTC 2006
Modified Files:
src/sys/arch/sparc/stand/common: promdev.c
Log Message:
Add support to the 2nd stage boot loader for booting from RAID
partitions. We do this by checking the NetBSD label to see if the
boot partition is of type RAID. If so, we offset reads from the
disk so that the kernel image can be read.
Note that with this code, sun4 machines (with PROM monitor) will only
boot from RAID if the RAID partition is the first one on the disk.
Tested on a SPARCstation 20, a SPARCstation 2 and a 4/330.
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/arch/sparc/stand/common/promdev.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.