summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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;
}