aboutsummaryrefslogtreecommitdiff
path: root/tools/bus_space/busdma.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2015-08-02 01:09:30 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2015-08-02 01:09:30 +0000
commit015b858345562ce87bf369a14d0fb639ca28f1ba (patch)
tree389a014deed0f01fd66db730dc3f619a499a44cb /tools/bus_space/busdma.h
parent16f3fdf55f13c2ebb4453a2c10804f75a95244c1 (diff)
downloadsrc-015b858345562ce87bf369a14d0fb639ca28f1ba.tar.gz
src-015b858345562ce87bf369a14d0fb639ca28f1ba.zip
Rename busdma_sync() to busdma_sync_range() and rename the
base and size parameters to ofs and len (resp). Add a new busdma_sync() that makes the entire MD coherent.
Notes
Notes: svn path=/head/; revision=286176
Diffstat (limited to 'tools/bus_space/busdma.h')
-rw-r--r--tools/bus_space/busdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bus_space/busdma.h b/tools/bus_space/busdma.h
index cf9d4f27542f..ec4890dd201f 100644
--- a/tools/bus_space/busdma.h
+++ b/tools/bus_space/busdma.h
@@ -51,6 +51,6 @@ int bd_md_next_seg(int mdid, int sid);
int bd_seg_get_addr(int sid, u_long *);
int bd_seg_get_size(int sid, u_long *);
-int bd_sync(int mdid, u_int op, u_long base, u_long size);
+int bd_sync(int mdid, u_int op, u_long ofs, u_long len);
#endif /* _TOOLS_BUS_DMA_H_ */