From 97deba7336877ec265495c8516fa9c0e103b1f97 Mon Sep 17 00:00:00 2001
From: Mark Kettenis <kettenis@cvs.openbsd.org>
Date: Sat, 13 Jan 2007 21:04:04 +0000
Subject: Print Schizo/Tomatillo version number.

---
 sys/arch/sparc64/dev/schizo.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'sys')

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,
-- 
cgit v1.2.3