Subject: CVS commit: src/sys/arch/sparc/stand/ofwboot
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 09/16/2007 23:12:32
Module Name:	src
Committed By:	martin
Date:		Sun Sep 16 23:12:32 UTC 2007

Modified Files:
	src/sys/arch/sparc/stand/ofwboot: boot.c boot.h ofdev.c

Log Message:
Change "Boot:" prompt option parsing to be more in line with the default
(no prompt) behaviour - it is now possible to "boot net:dhcp -a" and then
say "disk" at the "Boot:" prompt - result should be equivalent to "boot disk",
but the ofwboot was loaded from the network.
While there fix a few minor errors, and one significant: if the "a" partition
should not start at the beginning of the disk, the previous code failed
to read a disklabel. Use the "c" partition now to find the disklabel now
always.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/sparc/stand/ofwboot/boot.c \
    src/sys/arch/sparc/stand/ofwboot/ofdev.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/sparc/stand/ofwboot/boot.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.