Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/sparc/sparc Pull up rev 1.117 from trunk.



details:   https://anonhg.NetBSD.org/src/rev/07f900803f0f
branches:  netbsd-1-4
changeset: 468225:07f900803f0f
user:      pk <pk%NetBSD.org@localhost>
date:      Wed Apr 14 21:19:43 1999 +0000

description:
Pull up rev 1.117 from trunk.

diffstat:

 sys/arch/sparc/sparc/autoconf.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 42711e79c50d -r 07f900803f0f sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c   Wed Apr 14 21:19:22 1999 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c   Wed Apr 14 21:19:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.116 1999/03/26 23:41:35 mycroft Exp $ */
+/*     $NetBSD: autoconf.c,v 1.116.2.1 1999/04/14 21:19:43 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -143,6 +143,10 @@
 #if defined(MULTIPROCESSOR)
        int node, n;
 
+       /* We only consider sun4m class multi-processor machines */
+       if (!CPU_ISSUN4M)
+               return (0);
+
        n = 0;
        node = findroot();
        for (node = firstchild(node); node; node = nextsibling(node)) {
@@ -1023,6 +1027,7 @@
                ma.ma_name = "vme";
                ma.ma_bp = bootpath;
                (void)config_found(dev, (void *)&ma, mbprint);
+               return;
        }
 #endif
 



Home | Main Index | Thread Index | Old Index