Minor comment and style fixes, no functional change.

Submitted by:		Svatopluk Kraus <onwahe@gmail.com>
This commit is contained in:
Ian Lepore 2015-08-20 19:14:16 +00:00
parent e30880fb35
commit a715badd2e

View File

@ -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 @@ bus_dma_tag_destroy(bus_dma_tag_t dmat)
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;