From 5109def3614ff11747b68d89e2569081b9fa4274 Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 12 Jun 1996 01:36:01 +0000 Subject: [PATCH] change the meanings of some boot flags: a (was ~RB_SINGLE, redundant with 'A') -> askname n (was RB_ASKNAME) -> no meaning d (was RB_DFLTROOT) -> no meaning (unnecessary with new setroot() code) m (was RB_MINIROOT) -> no meaning (miniroots currently unsupported; #ifdef'd out) N (was ~RB_ASKNAME) -> no meaning (unnecessary; just don't specify RB_ASKNAME!) --- sys/arch/alpha/alpha/machdep.c | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index 00ac35e5c3c5..9321515f3395 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.20 1996/06/03 18:32:37 cgd Exp $ */ +/* $NetBSD: machdep.c,v 1.21 1996/06/12 01:36:01 cgd Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -589,25 +589,19 @@ alpha_init(pfn, ptb, argc, argv, envp) #endif for (p = boot_flags; p && *p != '\0'; p++) { switch (*p) { - case 'a': /* autoboot */ + case 'a': /* askname */ + boothowto |= RB_ASKNAME; + break; + case 'A': /* DEC's notion of autoboot */ boothowto &= ~RB_SINGLE; break; - case 'd': /* use compiled in default root */ - boothowto |= RB_DFLTROOT; - break; - +#if 0 case 'm': /* mini root present in memory */ boothowto |= RB_MINIROOT; break; - - case 'n': /* ask for names */ - boothowto |= RB_ASKNAME; - break; - - case 'N': /* don't ask for names */ - boothowto &= ~RB_ASKNAME; +#endif } }