Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm32/iomd Gratuitously print out the IOMD version ...
details: https://anonhg.NetBSD.org/src/rev/746011f43a1b
branches: trunk
changeset: 512601:746011f43a1b
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Tue Jul 10 21:31:59 2001 +0000
description:
Gratuitously print out the IOMD version at boot, since there's a register
for it.
diffstat:
sys/arch/arm32/iomd/iomd.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 3a962fa50290 -r 746011f43a1b sys/arch/arm32/iomd/iomd.c
--- a/sys/arch/arm32/iomd/iomd.c Tue Jul 10 20:43:57 2001 +0000
+++ b/sys/arch/arm32/iomd/iomd.c Tue Jul 10 21:31:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iomd.c,v 1.14 2001/07/10 00:36:10 bjh21 Exp $ */
+/* $NetBSD: iomd.c,v 1.15 2001/07/10 21:31:59 bjh21 Exp $ */
/*
* Copyright (c) 1996-1997 Mark Brinicombe.
@@ -171,7 +171,6 @@
/* Get the ID */
sc->sc_id = bus_space_read_1(iot, ioh, IOMD_ID0)
| (bus_space_read_1(iot, ioh, IOMD_ID1) << 8);
-
printf(": ");
/* Identify it and get the DRAM refresh rate */
@@ -197,8 +196,7 @@
arm7500_ioc_found = 0; /* just in case */
break;
}
-
- printf("\n");
+ printf("version %d\n", bus_space_read_1(iot, ioh, IOMD_VERSION));
/* Report the DRAM refresh rate */
printf("%s: ", self->dv_xname);
Home |
Main Index |
Thread Index |
Old Index