From 0920ef93d3e6d39407744d451307c9dc7d37b76c Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 6 Jan 2007 20:09:13 +0000 Subject: Propagate bus_space_tag_t through device attachment args structures, rather than having them build their own. No functional change. --- sys/arch/hp300/dev/sgc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/hp300/dev/sgc.c') 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 #include +#include #include #include @@ -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); -- cgit v1.2.3