]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Catch up to r232356: change the boundary constraint type to bus_addr_t.
authorian <ian@FreeBSD.org>
Fri, 23 Oct 2015 21:29:37 +0000 (21:29 +0000)
committerian <ian@FreeBSD.org>
Fri, 23 Oct 2015 21:29:37 +0000 (21:29 +0000)
This code lived in the projects/armv6 branch when that change got applied
to all the other arches.

sys/arm/arm/busdma_machdep-v6.c

index 34d1edc1959e4e0bbe0f0f0518770232977e849c..47cf60814da543b14bce66fcf68a234bdbf0ea16 100644 (file)
@@ -76,7 +76,7 @@ struct bounce_zone;
 struct bus_dma_tag {
        bus_dma_tag_t           parent;
        bus_size_t              alignment;
-       bus_size_t              boundary;
+       bus_addr_t              boundary;
        bus_addr_t              lowaddr;
        bus_addr_t              highaddr;
        bus_dma_filter_t        *filter;
@@ -456,7 +456,7 @@ dflt_lock(void *arg, bus_dma_lock_op_t op)
  */
 int
 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
-    bus_size_t boundary, bus_addr_t lowaddr, bus_addr_t highaddr,
+    bus_addr_t boundary, bus_addr_t lowaddr, bus_addr_t highaddr,
     bus_dma_filter_t *filter, void *filterarg, bus_size_t maxsize,
     int nsegments, bus_size_t maxsegsz, int flags, bus_dma_lock_t *lockfunc,
     void *lockfuncarg, bus_dma_tag_t *dmat)