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 Save the machine model string in ca...



details:   https://anonhg.NetBSD.org/src/rev/6c8b6a584c92
branches:  trunk
changeset: 503636:6c8b6a584c92
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sun Feb 11 00:27:06 2001 +0000

description:
Save the machine model string in case someone needs it (like slowlaris).

diffstat:

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

diffs (27 lines):

diff -r 9534c6a21813 -r 6c8b6a584c92 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Sun Feb 11 00:23:12 2001 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Sun Feb 11 00:27:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.42 2001/01/22 13:56:59 jdolecek Exp $ */
+/*     $NetBSD: autoconf.c,v 1.43 2001/02/11 00:27:06 eeh Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -106,6 +106,8 @@
 #endif
 
 static int rootnode;
+char platform_type[32];
+
 static char *str2hex __P((char *, int *));
 static int mbprint __P((void *, const char *));
 static void crazymap __P((char *, int *));
@@ -634,7 +636,7 @@
                NULL
        };
 
-       printf(": %s\n", getpropstringA(findroot(), "name", namebuf));
+       printf(": %s\n", getpropstringA(findroot(), "name", platform_type));
 
 
        /*



Home | Main Index | Thread Index | Old Index