Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/stand/lib s/vmunix/netbsd/



details:   https://anonhg.NetBSD.org/src/rev/c50b03d87f99
branches:  trunk
changeset: 471783:c50b03d87f99
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Apr 11 04:26:31 1999 +0000

description:
s/vmunix/netbsd/
Use BOOTRZ instead of SMALL.

diffstat:

 sys/arch/pmax/stand/lib/devopen.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r c0ac55f6f5fd -r c50b03d87f99 sys/arch/pmax/stand/lib/devopen.c
--- a/sys/arch/pmax/stand/lib/devopen.c Sun Apr 11 04:26:06 1999 +0000
+++ b/sys/arch/pmax/stand/lib/devopen.c Sun Apr 11 04:26:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: devopen.c,v 1.10 1999/04/01 05:52:39 simonb Exp $      */
+/*     $NetBSD: devopen.c,v 1.11 1999/04/11 04:26:31 simonb Exp $      */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -61,7 +61,7 @@
        cp = fname;
        ncp = namebuf;
 
-       /* look for a string like '5/rz0/vmunix' or '5/rz3f/vmunix */
+       /* look for a string like '5/rz0/netbsd' or '5/rz3f/netbsd */
        if ((c = *cp) >= '0' && c <= '9') {
                ctlr = c - '0';
                /* skip the '/' */
@@ -89,7 +89,7 @@
                        cp++;
                }
        } else {
-               /* expect a string like 'rz(0,0,0)vmunix' */
+               /* expect a string like 'rz(0,0,0)netbsd' */
                while ((c = *cp) != '\0') {
                        if (c == '(') {
                                cp++;
@@ -130,7 +130,7 @@
 #ifdef LIBSA_SINGLE_DEVICE
        rc = DEV_OPEN(dp)(f, ctlr, unit, part);
 #else
-#ifdef SMALL
+#ifdef BOOTRZ  /* First stage disk boot loader only knows rz devices */
        if (strcmp (namebuf, "rz")) {
                printf ("Unknown device: %s\n", namebuf);
                return ENXIO;



Home | Main Index | Thread Index | Old Index