diff options
author | ian <ian@FreeBSD.org> | 2015-08-20 19:14:16 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-08-20 19:14:16 +0000 |
commit | 3ebde95c62baca89b4aa7227d0b45041a2661d43 (patch) | |
tree | cf1e074c54716f12f853d40cacc83fd2f30893dc | |
parent | 057f55aa4b0390ec8926744ec9dbac8dde9dfa99 (diff) | |
download | FreeBSD-src-3ebde95c62baca89b4aa7227d0b45041a2661d43.zip FreeBSD-src-3ebde95c62baca89b4aa7227d0b45041a2661d43.tar.gz |
Minor comment and style fixes, no functional change.
Submitted by: Svatopluk Kraus <onwahe@gmail.com>
-rw-r--r-- | sys/arm/arm/busdma_machdep-v6.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arm/arm/busdma_machdep-v6.c b/sys/arm/arm/busdma_machdep-v6.c index 67e053b..ddc9de4 100644 --- a/sys/arm/arm/busdma_machdep-v6.c +++ b/sys/arm/arm/busdma_machdep-v6.c @@ -110,8 +110,8 @@ struct bounce_page { }; struct sync_list { - vm_offset_t vaddr; /* kva of bounce buffer */ - bus_addr_t busaddr; /* Physical address */ + vm_offset_t vaddr; /* kva of client data */ + bus_addr_t busaddr; /* client physical address */ bus_size_t datacount; /* client data count */ }; @@ -625,7 +625,8 @@ out: return (error); } -static int allocate_bz_and_pages(bus_dma_tag_t dmat, bus_dmamap_t mapp) +static int +allocate_bz_and_pages(bus_dma_tag_t dmat, bus_dmamap_t mapp) { struct bounce_zone *bz; int maxpages; |