summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/sgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hp300/dev/sgc.c')
-rw-r--r--sys/arch/hp300/dev/sgc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/sgc.c b/sys/arch/hp300/dev/sgc.c
index 92e083a0827..35b1d7b22b5 100644
--- a/sys/arch/hp300/dev/sgc.c
+++ b/sys/arch/hp300/dev/sgc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sgc.c,v 1.3 2006/06/16 20:44:38 miod Exp $ */
+/* $OpenBSD: sgc.c,v 1.4 2007/01/06 20:09:12 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -36,6 +36,7 @@
#include <sys/kernel.h>
#include <machine/autoconf.h>
+#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/hp300spu.h>
@@ -104,6 +105,7 @@ sgcattach(parent, self, aux)
bzero(&saa, sizeof(saa));
saa.saa_slot = slot;
+ saa.saa_iot = HP300_BUS_TAG(HP300_BUS_SGC, slot);
/* Attach matching device. */
config_found(self, &saa, sgcprint);