summaryrefslogtreecommitdiff
path: root/sys/arch/arm/footbridge
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-12-17 07:31:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-12-17 07:31:28 +0000
commit7cbb57eba5664076170d755cd54b71d88b093c0e (patch)
treeab7aa84468246c727fb48c0d639bf2567e2cf89f /sys/arch/arm/footbridge
parent9eee08e5579b1adf67335028b835e1df460fbb93 (diff)
Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_t
instead; looked at millert@
Diffstat (limited to 'sys/arch/arm/footbridge')
-rw-r--r--sys/arch/arm/footbridge/isa/isa_io.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/arm/footbridge/isa/isa_io.c b/sys/arch/arm/footbridge/isa/isa_io.c
index fbb1253c91f..6d6eba453e5 100644
--- a/sys/arch/arm/footbridge/isa/isa_io.c
+++ b/sys/arch/arm/footbridge/isa/isa_io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isa_io.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: isa_io.c,v 1.2 2005/12/17 07:31:25 miod Exp $ */
/* $NetBSD: isa_io.c,v 1.2 2002/09/27 15:35:44 provos Exp $ */
/*
@@ -221,8 +221,8 @@ struct bus_space isa_mem_bs_tag = {
void
isa_io_init(isa_io_addr, isa_mem_addr)
- vm_offset_t isa_io_addr;
- vm_offset_t isa_mem_addr;
+ vaddr_t isa_io_addr;
+ vaddr_t isa_mem_addr;
{
isa_io_bs_tag.bs_cookie = (void *)isa_io_addr;
isa_mem_bs_tag.bs_cookie = (void *)isa_mem_addr;
@@ -233,16 +233,16 @@ isa_io_init(isa_io_addr, isa_mem_addr)
* (e.g. X servers) need to map ISA space directly. use these
* functions sparingly!
*/
-vm_offset_t
+vaddr_t
isa_io_data_vaddr(void)
{
- return (vm_offset_t)isa_io_bs_tag.bs_cookie;
+ return (vaddr_t)isa_io_bs_tag.bs_cookie;
}
-vm_offset_t
+vaddr_t
isa_mem_data_vaddr(void)
{
- return (vm_offset_t)isa_mem_bs_tag.bs_cookie;
+ return (vaddr_t)isa_mem_bs_tag.bs_cookie;
}
int