summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-01-13 21:04:04 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-01-13 21:04:04 +0000
commit97deba7336877ec265495c8516fa9c0e103b1f97 (patch)
treeaaf46b3f79dc1b31207dd27fe22fa8a0f2c6184f /sys
parent25c5e790b4345c5aabb035ece9841494d47669a5 (diff)
Print Schizo/Tomatillo version number.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/dev/schizo.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/schizo.c b/sys/arch/sparc64/dev/schizo.c
index bc726f4dec7..14177eaa96b 100644
--- a/sys/arch/sparc64/dev/schizo.c
+++ b/sys/arch/sparc64/dev/schizo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: schizo.c,v 1.39 2007/01/12 21:32:38 kettenis Exp $ */
+/* $OpenBSD: schizo.c,v 1.40 2007/01/13 21:04:03 kettenis Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -180,8 +180,9 @@ schizo_init(struct schizo_softc *sc, int busa)
(void **)&busranges))
panic("schizo: can't get bus-range");
- printf(": \"%s\", ign %x, bus %c %d to %d\n",
- sc->sc_tomatillo ? "Tomatillo" : "Schizo", sc->sc_ign,
+ printf(": \"%s\", version %d, ign %x, bus %c %d to %d\n",
+ sc->sc_tomatillo ? "Tomatillo" : "Schizo",
+ getpropint(sc->sc_node, "version#", 0), sc->sc_ign,
busa ? 'A' : 'B', busranges[0], busranges[1]);
if (bus_space_subregion(pbm->sp_regt, sc->sc_ctrlh,