summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/intio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hp300/dev/intio.c')
-rw-r--r--sys/arch/hp300/dev/intio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/intio.c b/sys/arch/hp300/dev/intio.c
index bc5c3103288..f3308ebbe46 100644
--- a/sys/arch/hp300/dev/intio.c
+++ b/sys/arch/hp300/dev/intio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intio.c,v 1.4 2005/01/15 21:13:08 miod Exp $ */
+/* $OpenBSD: intio.c,v 1.5 2007/01/06 20:09:12 miod Exp $ */
/* $NetBSD: intio.c,v 1.2 1997/01/30 09:18:54 thorpej Exp $ */
/*-
@@ -45,6 +45,8 @@
#include <sys/systm.h>
#include <sys/device.h>
+#include <machine/bus.h>
+
#include <hp300/dev/intiovar.h>
int intiomatch(struct device *, void *, void *);
@@ -108,7 +110,10 @@ intiosearch(parent, match, aux)
struct intio_attach_args ia;
bzero(&ia, sizeof(ia));
+ ia.ia_tag = HP300_BUS_TAG(HP300_BUS_INTIO, 0);
+
if ((*cf->cf_attach->ca_match)(parent, cf, &ia) > 0)
config_attach(parent, cf, &ia, intioprint);
+
return (0);
}