summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/isa/wbsio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/isa/wbsio.c b/sys/dev/isa/wbsio.c
index 8e4b7110f4b..3a12ac2caab 100644
--- a/sys/dev/isa/wbsio.c
+++ b/sys/dev/isa/wbsio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wbsio.c,v 1.3 2008/04/07 18:45:26 kettenis Exp $ */
+/* $OpenBSD: wbsio.c,v 1.4 2008/04/08 18:48:43 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
*
@@ -222,10 +222,12 @@ wbsio_attach(struct device *parent, struct device *self, void *aux)
}
int
-wbsio_print(void *aux, const char *isa)
+wbsio_print(void *aux, const char *pnp)
{
struct isa_attach_args *ia = aux;
+ if (pnp)
+ printf("%s", pnp);
if (ia->ia_iosize)
printf(" port 0x%x", ia->ia_iobase);
if (ia->ia_iosize > 1)