summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-04-08 20:48:40 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-04-08 20:48:40 +0000
commitaf27d540d867318d92d5842ad95c1f8534e27dc7 (patch)
tree8047e139b37235b9e0c483d8fc3cc2796ce48404 /sys/arch/hppa
parent9d86448ab9d5febfc21a915c5b11a3188978b4db (diff)
just wate that debug altogether
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/dev/asp.c8
-rw-r--r--sys/arch/hppa/dev/lasi.c10
-rw-r--r--sys/arch/hppa/dev/mongoose.c6
-rw-r--r--sys/arch/hppa/dev/wax.c8
4 files changed, 8 insertions, 24 deletions
diff --git a/sys/arch/hppa/dev/asp.c b/sys/arch/hppa/dev/asp.c
index a9b4530cf3f..596a1e61a2b 100644
--- a/sys/arch/hppa/dev/asp.c
+++ b/sys/arch/hppa/dev/asp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asp.c,v 1.11 2003/04/08 20:37:39 miod Exp $ */
+/* $OpenBSD: asp.c,v 1.12 2003/04/08 20:48:39 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -168,11 +168,7 @@ aspattach(parent, self, aux)
register int s;
if (bus_space_map(ca->ca_iot, ca->ca_hpa, IOMOD_HPASIZE, 0, &ioh)) {
-#ifdef DEBUG
- printf("aspattach: can't map IO space\n");
-#else
- printf("\n");
-#endif
+ printf(": can't map IO space\n");
return;
}
diff --git a/sys/arch/hppa/dev/lasi.c b/sys/arch/hppa/dev/lasi.c
index b254a893fb0..eeddda4de95 100644
--- a/sys/arch/hppa/dev/lasi.c
+++ b/sys/arch/hppa/dev/lasi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lasi.c,v 1.12 2003/04/08 20:37:39 miod Exp $ */
+/* $OpenBSD: lasi.c,v 1.13 2003/04/08 20:48:39 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -145,12 +145,8 @@ lasiattach(parent, self, aux)
int s, in;
if (bus_space_map(ca->ca_iot, ca->ca_hpa + 0xc000,
- IOMOD_HPASIZE, 0, &ioh)) {
-#ifdef DEBUG
- printf("lasiattach: can't map IO space\n");
-#else
- printf("\n");
-#endif
+ IOMOD_HPASIZE, 0, &ioh)) {
+ printf(": can't map IO space\n");
return;
}
diff --git a/sys/arch/hppa/dev/mongoose.c b/sys/arch/hppa/dev/mongoose.c
index 08f04ecb26f..c931a8996fe 100644
--- a/sys/arch/hppa/dev/mongoose.c
+++ b/sys/arch/hppa/dev/mongoose.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mongoose.c,v 1.10 2003/04/08 20:37:39 miod Exp $ */
+/* $OpenBSD: mongoose.c,v 1.11 2003/04/08 20:48:39 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -265,8 +265,6 @@ mg_intr_establish(void *v, int irq, int type, int pri,
#ifdef DEBUG
printf("%s: bad interrupt level (%d)\n", sc->sc_dev.dv_xname,
type);
-#else
- printf("\n");
#endif
return NULL;
}
@@ -276,8 +274,6 @@ mg_intr_establish(void *v, int irq, int type, int pri,
#ifdef DEBUG
printf("%s: irq %d already established\n", sc->sc_dev.dv_xname,
irq);
-#else
- printf("\n");
#endif
return NULL;
}
diff --git a/sys/arch/hppa/dev/wax.c b/sys/arch/hppa/dev/wax.c
index ef7227ac996..f177faddc8c 100644
--- a/sys/arch/hppa/dev/wax.c
+++ b/sys/arch/hppa/dev/wax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wax.c,v 1.5 2003/04/08 20:37:39 miod Exp $ */
+/* $OpenBSD: wax.c,v 1.6 2003/04/08 20:48:39 mickey Exp $ */
/*
* Copyright (c) 1998,2003 Michael Shalayeff
@@ -102,12 +102,8 @@ waxattach(parent, self, aux)
int s, in;
if (bus_space_map(ca->ca_iot, ca->ca_hpa + 0xc000,
- IOMOD_HPASIZE, 0, &ioh)) {
-#ifdef DEBUG
+ IOMOD_HPASIZE, 0, &ioh)) {
printf(": can't map IO space\n");
-#else
- printf("\n");
-#endif
return;
}