Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Print the system serial number.
details: https://anonhg.NetBSD.org/src/rev/227fc506733c
branches: trunk
changeset: 494200:227fc506733c
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Jul 03 17:52:33 2000 +0000
description:
Print the system serial number.
diffstat:
sys/arch/alpha/alpha/machdep.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 179774758e53 -r 227fc506733c sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c Mon Jul 03 17:42:37 2000 +0000
+++ b/sys/arch/alpha/alpha/machdep.c Mon Jul 03 17:52:33 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.217 2000/06/29 09:02:54 mrg Exp $ */
+/* $NetBSD: machdep.c,v 1.218 2000/07/03 17:52:33 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.217 2000/06/29 09:02:54 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.218 2000/07/03 17:52:33 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -986,6 +986,7 @@
identifycpu()
{
char *s;
+ int i;
/*
* print out CPU identification information.
@@ -996,6 +997,9 @@
goto skipMHz;
printf(", %ldMHz", hwrpb->rpb_cc_freq / 1000000);
skipMHz:
+ printf(", s/n ");
+ for (i = 0; i < 10; i++)
+ printf("%c", hwrpb->rpb_ssn[i]);
printf("\n");
printf("%ld byte page size, %d processor%s.\n",
hwrpb->rpb_page_size, ncpus, ncpus == 1 ? "" : "s");
Home |
Main Index |
Thread Index |
Old Index