diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-06 20:09:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-06 20:09:13 +0000 |
commit | 0920ef93d3e6d39407744d451307c9dc7d37b76c (patch) | |
tree | 1afd9f06e911ce81bb182483e0713d39e5a45598 /sys/arch/hp300/dev/sgc.c | |
parent | 846245f5829a18cd743d0d6f00b53fb01d98380c (diff) |
Propagate bus_space_tag_t through device attachment args structures, rather
than having them build their own. No functional change.
Diffstat (limited to 'sys/arch/hp300/dev/sgc.c')
-rw-r--r-- | sys/arch/hp300/dev/sgc.c | 4 |
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); |