summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-11-26 18:01:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-11-26 18:01:02 +0000
commit1e045cca317fe0571c29041fd00f1bab456dbb72 (patch)
treef6aaedf60ca93c9637fa8ab8caa53f74323ecb6c /sys/arch/hppa/dev
parent2253e452bb5c06768e00cfb1e7f38c614c360a50 (diff)
hide in DEBUG some extra printings
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r--sys/arch/hppa/dev/mem.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/hppa/dev/mem.c b/sys/arch/hppa/dev/mem.c
index 195e6850261..d8741adc6b0 100644
--- a/sys/arch/hppa/dev/mem.c
+++ b/sys/arch/hppa/dev/mem.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: mem.c,v 1.3 1999/11/22 19:21:58 matthieu Exp $ */
+/* $OpenBSD: mem.c,v 1.4 1999/11/26 18:01:01 mickey Exp $ */
/*
- * Copyright (c) 1998 Michael Shalayeff
+ * Copyright (c) 1998,1999 Michael Shalayeff
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,8 +23,8 @@
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF MIND,
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -164,9 +164,9 @@ memattach(parent, self, aux)
((struct vi_ctrl *)&VI_CTRL)->core_prf = 1;
sc->sc_vp->vi_control = VI_CTRL;
splx(s);
-
+#ifdef DEBUG
printf (" >> %b", VI_CTRL, VIPER_BITS);
-
+#endif
} else
sc->sc_vp = NULL;