diff options
Diffstat (limited to 'sys/arch/sparc/dev/sbus.c')
-rw-r--r-- | sys/arch/sparc/dev/sbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/sbus.c b/sys/arch/sparc/dev/sbus.c index d177c8f45b7..2202f56380f 100644 --- a/sys/arch/sparc/dev/sbus.c +++ b/sys/arch/sparc/dev/sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbus.c,v 1.17 2010/07/10 19:32:24 miod Exp $ */ +/* $OpenBSD: sbus.c,v 1.18 2010/09/05 18:10:10 kettenis Exp $ */ /* $NetBSD: sbus.c,v 1.17 1997/06/01 22:10:39 pk Exp $ */ /* @@ -258,9 +258,9 @@ sbus_translate(dev, ca) for (j = 0; j < sc->sc_nrange; j++) { if (sc->sc_range[j].cspace == cspace) { - (int)ca->ca_ra.ra_reg[i].rr_paddr += + ca->ca_ra.ra_reg[i].rr_paddr += sc->sc_range[j].poffset; - (int)ca->ca_ra.ra_reg[i].rr_iospace = + ca->ca_ra.ra_reg[i].rr_iospace = sc->sc_range[j].pspace; break; } |