Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Rename storage for the sun4 idprom stru...
details: https://anonhg.NetBSD.org/src/rev/c565a8e6b4de
branches: trunk
changeset: 499107:c565a8e6b4de
user: pk <pk%NetBSD.org@localhost>
date: Sat Nov 11 12:12:46 2000 +0000
description:
Rename storage for the sun4 idprom structure to `sun4_idprom_store'.
diffstat:
sys/arch/sparc/sparc/cpu.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r dafc0f2638b8 -r c565a8e6b4de sys/arch/sparc/sparc/cpu.c
--- a/sys/arch/sparc/sparc/cpu.c Sat Nov 11 11:59:42 2000 +0000
+++ b/sys/arch/sparc/sparc/cpu.c Sat Nov 11 12:12:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.108 2000/09/19 13:44:35 pk Exp $ */
+/* $NetBSD: cpu.c,v 1.109 2000/11/11 12:12:46 pk Exp $ */
/*
* Copyright (c) 1996
@@ -739,7 +739,7 @@
}
}
-struct idprom idprom;
+struct idprom sun4_idprom_store;
void getidprom __P((struct idprom *, int size));
void
@@ -749,8 +749,8 @@
int node;
{
- getidprom(&idprom, sizeof(idprom));
- switch (idprom.id_machine) {
+ getidprom(&sun4_idprom_store, sizeof(struct idprom));
+ switch (sun4_idprom_store.id_machine) {
/* XXX: don't know about Sun4 types */
case ID_SUN4_100:
sc->cpu_type = CPUTYP_4_100;
Home |
Main Index |
Thread Index |
Old Index