aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/bus_dma.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2012-03-01 19:58:34 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2012-03-01 19:58:34 +0000
commit831ce4cb3d9dbbf5cfcdb6956004479d52ce6c4d (patch)
treec681791d9aa316edfa305bde95f3cea4802aee56 /sys/sparc64/include/bus_dma.h
parent4304af4a28a85b72beb5a6a7d8f99fe1502175dc (diff)
- Change contigmalloc() to use the vm_paddr_t type instead of an unsigned
long for specifying a boundary constraint. - Change bus_dma tags to use bus_addr_t instead of bus_size_t for boundary constraints. These allow boundary constraints to be fully expressed for cases where sizeof(bus_addr_t) != sizeof(bus_size_t). Specifically, it allows a driver to properly specify a 4GB boundary in a PAE kernel. Note that this cannot be safely MFC'd without a lot of compat shims due to KBI changes, so I do not intend to merge it. Reviewed by: scottl
Notes
Notes: svn path=/head/; revision=232356
Diffstat (limited to 'sys/sparc64/include/bus_dma.h')
-rw-r--r--sys/sparc64/include/bus_dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/bus_dma.h b/sys/sparc64/include/bus_dma.h
index 9e069df9874e..5f981a7c1abf 100644
--- a/sys/sparc64/include/bus_dma.h
+++ b/sys/sparc64/include/bus_dma.h
@@ -103,7 +103,7 @@ struct bus_dma_tag {
void *dt_cookie; /* cookie used in the guts */
bus_dma_tag_t dt_parent;
bus_size_t dt_alignment;
- bus_size_t dt_boundary;
+ bus_addr_t dt_boundary;
bus_addr_t dt_lowaddr;
bus_addr_t dt_highaddr;
bus_dma_filter_t *dt_filter;