diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-04-08 20:37:40 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-04-08 20:37:40 +0000 |
commit | 926ecf6bc68da27ba8daa4e84579e1c2367dcbc0 (patch) | |
tree | 5271ef49dbdb7e3d73852659dfc2895e0dd11a62 /sys | |
parent | 50ff846cc1904cb63589fa5c2a1847972b0bd4d2 (diff) |
Make dmesg prettier if attachment fails and no option DEBUG
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/dev/asp.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa/dev/lasi.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa/dev/mongoose.c | 6 | ||||
-rw-r--r-- | sys/arch/hppa/dev/wax.c | 4 |
4 files changed, 14 insertions, 4 deletions
diff --git a/sys/arch/hppa/dev/asp.c b/sys/arch/hppa/dev/asp.c index 57909236b28..a9b4530cf3f 100644 --- a/sys/arch/hppa/dev/asp.c +++ b/sys/arch/hppa/dev/asp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asp.c,v 1.10 2003/02/18 09:40:40 miod Exp $ */ +/* $OpenBSD: asp.c,v 1.11 2003/04/08 20:37:39 miod Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -170,6 +170,8 @@ aspattach(parent, self, aux) 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 return; } diff --git a/sys/arch/hppa/dev/lasi.c b/sys/arch/hppa/dev/lasi.c index dd7ebcc80c5..b254a893fb0 100644 --- a/sys/arch/hppa/dev/lasi.c +++ b/sys/arch/hppa/dev/lasi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lasi.c,v 1.11 2002/12/18 23:52:45 mickey Exp $ */ +/* $OpenBSD: lasi.c,v 1.12 2003/04/08 20:37:39 miod Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -148,6 +148,8 @@ lasiattach(parent, self, aux) IOMOD_HPASIZE, 0, &ioh)) { #ifdef DEBUG printf("lasiattach: can't map IO space\n"); +#else + printf("\n"); #endif return; } diff --git a/sys/arch/hppa/dev/mongoose.c b/sys/arch/hppa/dev/mongoose.c index c2c2ad77ab1..08f04ecb26f 100644 --- a/sys/arch/hppa/dev/mongoose.c +++ b/sys/arch/hppa/dev/mongoose.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mongoose.c,v 1.9 2002/03/14 01:26:31 millert Exp $ */ +/* $OpenBSD: mongoose.c,v 1.10 2003/04/08 20:37:39 miod Exp $ */ /* * Copyright (c) 1998,1999 Michael Shalayeff @@ -265,6 +265,8 @@ 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; } @@ -274,6 +276,8 @@ 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 ba613a5fcd9..ef7227ac996 100644 --- a/sys/arch/hppa/dev/wax.c +++ b/sys/arch/hppa/dev/wax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wax.c,v 1.4 2003/04/07 16:49:02 mickey Exp $ */ +/* $OpenBSD: wax.c,v 1.5 2003/04/08 20:37:39 miod Exp $ */ /* * Copyright (c) 1998,2003 Michael Shalayeff @@ -105,6 +105,8 @@ waxattach(parent, self, aux) IOMOD_HPASIZE, 0, &ioh)) { #ifdef DEBUG printf(": can't map IO space\n"); +#else + printf("\n"); #endif return; } |