diff options
author | sephe <sephe@FreeBSD.org> | 2016-10-17 03:48:22 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-10-17 03:48:22 +0000 |
commit | e37bb2a12aa175fcf49659bd1660ad3eec33f260 (patch) | |
tree | ced8d865d34cd078316b670dc30ba0405d9a09ab /sys/dev/hyperv/include/hyperv_busdma.h | |
parent | d64ccac3634c24766c2feab6e8c2b0b1ef9061b0 (diff) | |
download | FreeBSD-src-e37bb2a12aa175fcf49659bd1660ad3eec33f260.zip FreeBSD-src-e37bb2a12aa175fcf49659bd1660ad3eec33f260.tar.gz |
MFC 303421,303422,303470-303473
303421
hyperv/vmbus: Avoid unnecessary mb()
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7333
303422
hyperv/vmbus: Inclusion cleanup
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7334
303470
hyperv/vmbus: Reindent function declarations.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7344
303471
hyperv/vmbus: Forward declare static functions
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7346
303472
hyperv/vmbus: Move driver glue to the beginning of the files
Just as most of other drivers do. And move sysinit function close
to its SYSINIT.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7347
303473
hyperv/vmbus: Revoke unnecessary exposure of vmbus softc
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7348
Diffstat (limited to 'sys/dev/hyperv/include/hyperv_busdma.h')
-rw-r--r-- | sys/dev/hyperv/include/hyperv_busdma.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/hyperv/include/hyperv_busdma.h b/sys/dev/hyperv/include/hyperv_busdma.h index a27d2db..ff01b3e 100644 --- a/sys/dev/hyperv/include/hyperv_busdma.h +++ b/sys/dev/hyperv/include/hyperv_busdma.h @@ -39,11 +39,11 @@ struct hyperv_dma { bus_dmamap_t hv_dmap; }; -void hyperv_dma_map_paddr(void *arg, bus_dma_segment_t *segs, int nseg, - int error); -void *hyperv_dmamem_alloc(bus_dma_tag_t parent_dtag, bus_size_t alignment, - bus_addr_t boundary, bus_size_t size, struct hyperv_dma *dma, - int flags); -void hyperv_dmamem_free(struct hyperv_dma *dma, void *ptr); +void hyperv_dma_map_paddr(void *arg, bus_dma_segment_t *segs, + int nseg, int error); +void *hyperv_dmamem_alloc(bus_dma_tag_t parent_dtag, + bus_size_t alignment, bus_addr_t boundary, bus_size_t size, + struct hyperv_dma *dma, int flags); +void hyperv_dmamem_free(struct hyperv_dma *dma, void *ptr); #endif /* !_HYPERV_BUSDMA_H_ */ |