From 43e170744205c21b52e2c6c26109152658dbfd78 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 25 Jun 2003 17:36:52 +0000 Subject: 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. --- sys/arch/sparc64/dev/stp_sbus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc64/dev/stp_sbus.c') 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; } } -- cgit v1.2.3