From c6f6d9c3c9aac2d465b650759516f7e9ee7cbcc3 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Tue, 3 Jul 2007 09:55:30 +0000 Subject: [PATCH] Print NEWS model name right after copyright and version as other mips ports. --- sys/arch/newsmips/newsmips/autoconf.c | 8 ++------ sys/arch/newsmips/newsmips/machdep.c | 6 ++++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/sys/arch/newsmips/newsmips/autoconf.c b/sys/arch/newsmips/newsmips/autoconf.c index 451d9c3b0867..97404866682a 100644 --- a/sys/arch/newsmips/newsmips/autoconf.c +++ b/sys/arch/newsmips/newsmips/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.26 2005/12/11 12:18:25 christos Exp $ */ +/* $NetBSD: autoconf.c,v 1.27 2007/07/03 09:55:30 tsutsui Exp $ */ /* * Copyright (c) 1992, 1993 @@ -85,7 +85,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 2005/12/11 12:18:25 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27 2007/07/03 09:55:30 tsutsui Exp $"); #include #include @@ -125,10 +125,6 @@ static void findroot(void); void cpu_configure(void) { - extern struct idrom idrom; - - printf("SONY NET WORK STATION, Model %s, ", idrom.id_model); - printf("Machine ID #%d\n", idrom.id_serial); /* * Kick off autoconfiguration diff --git a/sys/arch/newsmips/newsmips/machdep.c b/sys/arch/newsmips/newsmips/machdep.c index 8401a255ad85..9d88e8198c9d 100644 --- a/sys/arch/newsmips/newsmips/machdep.c +++ b/sys/arch/newsmips/newsmips/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.92 2007/05/17 14:51:25 yamt Exp $ */ +/* $NetBSD: machdep.c,v 1.93 2007/07/03 09:55:30 tsutsui Exp $ */ /* * Copyright (c) 1992, 1993 @@ -76,7 +76,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.92 2007/05/17 14:51:25 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.93 2007/07/03 09:55:30 tsutsui Exp $"); /* from: Utah Hdr: machdep.c 1.63 91/04/24 */ @@ -480,6 +480,8 @@ cpu_startup(void) * Good {morning,afternoon,evening,night}. */ printf("%s%s", copyright, version); + printf("SONY NET WORK STATION, Model %s, ", idrom.id_model); + printf("Machine ID #%d\n", idrom.id_serial); format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); printf("total memory = %s\n", pbuf);