Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/ofwboot kill LOAD_MINIMAL.



details:   https://anonhg.NetBSD.org/src/rev/fd91b9f987af
branches:  trunk
changeset: 757333:fd91b9f987af
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 25 16:38:04 2010 +0000

description:
kill LOAD_MINIMAL.

diffstat:

 sys/arch/sparc/stand/ofwboot/boot.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1ce2713af427 -r fd91b9f987af sys/arch/sparc/stand/ofwboot/boot.c
--- a/sys/arch/sparc/stand/ofwboot/boot.c       Wed Aug 25 16:35:57 2010 +0000
+++ b/sys/arch/sparc/stand/ofwboot/boot.c       Wed Aug 25 16:38:04 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.23 2010/08/25 16:24:45 christos Exp $       */
+/*     $NetBSD: boot.c,v 1.24 2010/08/25 16:38:04 christos Exp $       */
 
 /*
  * Copyright (c) 1997, 1999 Eduardo E. Horvath.  All rights reserved.
@@ -354,7 +354,9 @@
 {
        int fd;
        u_long marks[MARK_MAX];
-       int flags = isfloppy ? LOAD_MINIMAL : LOAD_ALL;
+       int flags = LOAD_ALL;
+       if (isfloppy)
+               flags &= ~LOAD_BACKWARDS;
 
        /*
         * First, load headers using default allocator and check whether kernel



Home | Main Index | Thread Index | Old Index