Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 The bootpath element must point to ...



details:   https://anonhg.NetBSD.org/src/rev/8de32139c746
branches:  trunk
changeset: 480565:8de32139c746
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sun Jan 16 03:10:58 2000 +0000

description:
The bootpath element must point to the appropriate bus node to work correctly.

diffstat:

 sys/arch/sparc64/sparc64/autoconf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 3b589f41d797 -r 8de32139c746 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Sun Jan 16 03:07:22 2000 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Sun Jan 16 03:10:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.25 2000/01/14 14:57:27 pk Exp $ */
+/*     $NetBSD: autoconf.c,v 1.26 2000/01/16 03:10:58 eeh Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -1208,6 +1208,7 @@
                 * parameters and advance boot path on match.
                 */
                if (instance_match(dev, aux, bp) != 0) {
+                       bp->dev = dev;
                        bootpath_store(1, bp + 1);
                        return;
                }
@@ -1255,7 +1256,6 @@
                        return;
                }
        } else if (strcmp("xd", dvname) == 0 || strcmp("xy", dvname) == 0) {
-
                /* A Xylogic disk */
                if (instance_match(dev, aux, bp) != 0) {
                        nail_bootdev(dev, bp);



Home | Main Index | Thread Index | Old Index