summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-05-10 15:04:49 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-05-10 15:04:49 +0000
commit58599f29e1a2625f3382da058b150d6340e816d5 (patch)
treedfb7820b51d41473ad9e82efe9ae782ef1f02e2d
parent4e06ae995d5f72453b9d57e95c3e82e04c67e5d8 (diff)
When I changed the implementation of iommu and sg_dma over to use
bus_addr_t instead of vaddr_t i forgot the bind_page prototypes. So change them over, too. This shows it really was just pedantry since it still built and worked.
-rw-r--r--sys/arch/amd64/include/bus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/bus.h b/sys/arch/amd64/include/bus.h
index 8952c1a0678..d043ffd717e 100644
--- a/sys/arch/amd64/include/bus.h
+++ b/sys/arch/amd64/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.17 2009/04/21 17:05:29 oga Exp $ */
+/* $OpenBSD: bus.h,v 1.18 2009/05/10 15:04:48 oga Exp $ */
/* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */
/*-
@@ -621,8 +621,8 @@ struct sg_cookie {
struct mutex sg_mtx;
struct extent *sg_ex;
void *sg_hdl;
- void (*bind_page)(void *, vaddr_t, paddr_t, int);
- void (*unbind_page)(void *, vaddr_t);
+ void (*bind_page)(void *, bus_addr_t, paddr_t, int);
+ void (*unbind_page)(void *, bus_addr_t);
void (*flush_tlb)(void *);
};