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/power.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc/dev/obio.c b/sys/arch/sparc/dev/obio.c
index 26295b24e15..6e1234d8dfc 100644
--- a/sys/arch/sparc/dev/obio.c
+++ b/sys/arch/sparc/dev/obio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: obio.c,v 1.17 2007/05/29 09:54:11 sobrado Exp $ */
+/* $OpenBSD: obio.c,v 1.18 2007/07/01 19:07:45 miod Exp $ */
/* $NetBSD: obio.c,v 1.37 1997/07/29 09:58:11 fair Exp $ */
/*
@@ -349,9 +349,9 @@ vmeattach(parent, self, aux)
node = ra->ra_node;
sc->sc_reg = (struct vmebusreg *)
- mapdev(&ra->ra_reg[0], 0, 0, ra->ra_reg[0].rr_len);
+ mapiodev(&ra->ra_reg[0], 0, ra->ra_reg[0].rr_len);
sc->sc_vec = (struct vmebusvec *)
- mapdev(&ra->ra_reg[1], 0, 0, ra->ra_reg[1].rr_len);
+ mapiodev(&ra->ra_reg[1], 0, ra->ra_reg[1].rr_len);
/*
* Get "range" property, though we don't do anything with it yet.
diff --git a/sys/arch/sparc/dev/power.c b/sys/arch/sparc/dev/power.c
index 4422aa7510f..bdf4624ab50 100644
--- a/sys/arch/sparc/dev/power.c
+++ b/sys/arch/sparc/dev/power.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: power.c,v 1.9 2005/07/08 12:34:36 miod Exp $ */
+/* $OpenBSD: power.c,v 1.10 2007/07/01 19:07:45 miod Exp $ */
/* $NetBSD: power.c,v 1.2 1996/05/16 15:56:56 abrown Exp $ */
/*
@@ -90,7 +90,7 @@ powerattach(struct device *parent, struct device *self, void *aux)
struct confargs *ca = aux;
struct romaux *ra = &ca->ca_ra;
- power_reg = mapdev(ra->ra_reg, 0, 0, sizeof(long));
+ power_reg = mapiodev(ra->ra_reg, 0, sizeof(long));
power_attached = 1;