summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-09-06 04:46:39 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-09-06 04:46:39 +0000
commit6c019e7913e87ce01eb077857f3ec5c8b7e401e0 (patch)
treeb79681fdf638ff9af259ca0667d5ac342444a55e /sys/arch
parenta1161ea7c42222af25b6c0ea2ca88ba5ccc8d0db (diff)
remove debugging cruft
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/p9100.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/p9100.c b/sys/arch/sparc/dev/p9100.c
index 418f17be99f..497aaa76301 100644
--- a/sys/arch/sparc/dev/p9100.c
+++ b/sys/arch/sparc/dev/p9100.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p9100.c,v 1.1 1999/09/06 03:46:16 jason Exp $ */
+/* $OpenBSD: p9100.c,v 1.2 1999/09/06 04:46:38 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -243,7 +243,6 @@ p9100attach(parent, self, args)
P9100_SELECT_SCR(sc);
i = sc->sc_ctl->ctl_scr.scr;
- printf(":%08x", i);
switch ((i >> 26) & 7) {
case 5:
sc->sc_fb.fb_type.fb_depth = 32;
@@ -267,7 +266,7 @@ p9100attach(parent, self, args)
sc->sc_fb.fb_type.fb_cmsize = getpropint(node, "cmsize", 256);
sc->sc_fb.fb_type.fb_size =
sc->sc_fb.fb_type.fb_height * sc->sc_fb.fb_linebytes;
- printf(": rev %x, %d x %d, depth %d", i,
+ printf(": rev %x, %d x %d, depth %d", i & 7,
sc->sc_fb.fb_type.fb_width, sc->sc_fb.fb_type.fb_height,
sc->sc_fb.fb_type.fb_depth);