Print NEWS model name right after copyright and version

as other mips ports.
This commit is contained in:
tsutsui 2007-07-03 09:55:30 +00:00
parent 50094295cc
commit c6f6d9c3c9
2 changed files with 6 additions and 8 deletions

View File

@ -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 * Copyright (c) 1992, 1993
@ -85,7 +85,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__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 <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -125,10 +125,6 @@ static void findroot(void);
void void
cpu_configure(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 * Kick off autoconfiguration

View File

@ -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 * Copyright (c) 1992, 1993
@ -76,7 +76,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ #include <sys/cdefs.h> /* 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 */ /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
@ -480,6 +480,8 @@ cpu_startup(void)
* Good {morning,afternoon,evening,night}. * Good {morning,afternoon,evening,night}.
*/ */
printf("%s%s", copyright, version); 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)); format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
printf("total memory = %s\n", pbuf); printf("total memory = %s\n", pbuf);