summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-30 07:00:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-30 07:00:40 +0000
commit5791eb68b8302ed35783a52e264b185c72e44893 (patch)
tree423d457bbebd477f0bc172f1845d0f7d45a10a5e /sys
parent2ef1dd7773d62204dd537b55c3b54c4cea9c9286 (diff)
pretty printing
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/isapnp.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/dev/isa/isapnp.c b/sys/dev/isa/isapnp.c
index 323d99d88e9..790bffde6cf 100644
--- a/sys/dev/isa/isapnp.c
+++ b/sys/dev/isa/isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isapnp.c,v 1.15 1997/12/26 09:35:38 deraadt Exp $ */
+/* $OpenBSD: isapnp.c,v 1.16 1997/12/30 07:00:39 deraadt Exp $ */
/* $NetBSD: isapnp.c,v 1.9.4.3 1997/10/29 00:40:43 thorpej Exp $ */
/*
@@ -557,18 +557,15 @@ isapnp_print(aux, str)
struct isa_attach_args *ipa = aux;
if (str != NULL)
- printf("%s: <%s, %s, %s, %s>",
- str, ipa->ipa_devident, ipa->ipa_devlogic,
- ipa->ipa_devcompat, ipa->ipa_devclass);
+ printf("%s:", str);
+ printf(" <%s, %s, %s, %s>", ipa->ipa_devident,
+ ipa->ipa_devlogic, ipa->ipa_devcompat, ipa->ipa_devclass);
isapnp_print_region("port", ipa->ipa_io, ipa->ipa_nio);
isapnp_print_region("mem", ipa->ipa_mem, ipa->ipa_nmem);
isapnp_print_region("mem32", ipa->ipa_mem32, ipa->ipa_nmem32);
isapnp_print_pin("irq", ipa->ipa_irq, ipa->ipa_nirq);
isapnp_print_pin("drq", ipa->ipa_drq, ipa->ipa_ndrq);
-
- printf(" <%s, %s>", ipa->ipa_devident, ipa->ipa_devclass);
-
return UNCONF;
}