summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/obio.c6
-rw-r--r--sys/arch/sparc/dev/qec.c6
-rw-r--r--sys/arch/sparc/dev/sbus.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/obio.c b/sys/arch/sparc/dev/obio.c
index 1174eab0a40..f55d9bcb166 100644
--- a/sys/arch/sparc/dev/obio.c
+++ b/sys/arch/sparc/dev/obio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: obio.c,v 1.21 2010/06/07 19:54:33 miod Exp $ */
+/* $OpenBSD: obio.c,v 1.22 2010/09/05 18:10:10 kettenis Exp $ */
/* $NetBSD: obio.c,v 1.37 1997/07/29 09:58:11 fair Exp $ */
/*
@@ -425,10 +425,10 @@ vmebus_translate(dev, ca, bustype)
for (j = 0; j < sc->sc_nrange; j++) {
if (sc->sc_range[j].cspace == cspace) {
#if notyet
- (int)ca->ca_ra.ra_paddr +=
+ ca->ca_ra.ra_paddr +=
sc->sc_range[j].poffset;
#endif
- (int)ca->ca_ra.ra_iospace =
+ ca->ca_ra.ra_iospace =
sc->sc_range[j].pspace;
break;
}
diff --git a/sys/arch/sparc/dev/qec.c b/sys/arch/sparc/dev/qec.c
index 332a7b5ba75..358e7b558d4 100644
--- a/sys/arch/sparc/dev/qec.c
+++ b/sys/arch/sparc/dev/qec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qec.c,v 1.18 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: qec.c,v 1.19 2010/09/05 18:10:10 kettenis Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt and Jason L. Wright.
@@ -248,9 +248,9 @@ qec_translate(sc, 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;
}
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;
}