summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/stp_sbus.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-06-25 17:36:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-06-25 17:36:52 +0000
commit43e170744205c21b52e2c6c26109152658dbfd78 (patch)
treeb4d6371aa6d80cec75c4d2d7618786deb3e7f5a6 /sys/arch/sparc64/dev/stp_sbus.c
parent999755bd8c548c6d55d4b8af2bb43f9286b0e586 (diff)
Let the stp driver use different bus_space_tag_t for its own device access,
and for access to the pcmcia windows from the pcmcia drivers.
Diffstat (limited to 'sys/arch/sparc64/dev/stp_sbus.c')
-rw-r--r--sys/arch/sparc64/dev/stp_sbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/stp_sbus.c b/sys/arch/sparc64/dev/stp_sbus.c
index 13070497042..858412eba96 100644
--- a/sys/arch/sparc64/dev/stp_sbus.c
+++ b/sys/arch/sparc64/dev/stp_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stp_sbus.c,v 1.3 2003/06/24 21:54:39 henric Exp $ */
+/* $OpenBSD: stp_sbus.c,v 1.4 2003/06/25 17:36:51 miod Exp $ */
/* $NetBSD: stp4020.c,v 1.23 2002/06/01 23:51:03 lukem Exp $ */
/*-
@@ -152,9 +152,11 @@ stpattach(parent, self, aux)
} else if (i < STP4020_BANK_CTRL) {
/* banks 1-3 */
sc->sc_socks[0].windows[i-1].winaddr = bh;
+ sc->sc_socks[0].wintag = sc->sc_bustag;
} else {
/* banks 5-7 */
sc->sc_socks[1].windows[i-5].winaddr = bh;
+ sc->sc_socks[1].wintag = sc->sc_bustag;
}
}