summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-23 17:25:02 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-22 17:25:12 +0200
commit0761774abddd298e9631f6309d355c68fe109422 (patch)
tree47704ca0e87b0ec81cd2c408276f3255073fb85e
parentfreebsd/nfsv4: Fix misaligned 64bit user dirent write (diff)
downloadrtems-libbsd-0761774abddd298e9631f6309d355c68fe109422.tar.bz2
Revert white space changes
-rw-r--r--freebsd/sys/dev/xdma/xdma_sg.c6
-rw-r--r--freebsd/sys/dev/xilinx/if_xae.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/freebsd/sys/dev/xdma/xdma_sg.c b/freebsd/sys/dev/xdma/xdma_sg.c
index 50057e89..f0e5f187 100644
--- a/freebsd/sys/dev/xdma/xdma_sg.c
+++ b/freebsd/sys/dev/xdma/xdma_sg.c
@@ -117,7 +117,7 @@ xchan_bufs_alloc_reserved(xdma_channel_t *xchan)
xchan_bufs_free_reserved(xchan);
return (ENOMEM);
}
-
+
xr->buf.size = size;
xr->buf.paddr = addr;
xr->buf.vaddr = kva_alloc(size);
@@ -350,10 +350,10 @@ xchan_seg_done(xdma_channel_t *xchan,
if (b->nsegs_left == 0) {
if (xchan->caps & XCHAN_CAP_BUSDMA) {
if (xr->direction == XDMA_MEM_TO_DEV)
- bus_dmamap_sync(xchan->dma_tag_bufs, b->map,
+ bus_dmamap_sync(xchan->dma_tag_bufs, b->map,
BUS_DMASYNC_POSTWRITE);
else
- bus_dmamap_sync(xchan->dma_tag_bufs, b->map,
+ bus_dmamap_sync(xchan->dma_tag_bufs, b->map,
BUS_DMASYNC_POSTREAD);
bus_dmamap_unload(xchan->dma_tag_bufs, b->map);
} else {
diff --git a/freebsd/sys/dev/xilinx/if_xae.c b/freebsd/sys/dev/xilinx/if_xae.c
index e01a3abe..9b05ae1b 100644
--- a/freebsd/sys/dev/xilinx/if_xae.c
+++ b/freebsd/sys/dev/xilinx/if_xae.c
@@ -792,7 +792,7 @@ setup_xdma(struct xae_softc *sc)
dev = sc->dev;
- /* Get xDMA controller */
+ /* Get xDMA controller */
sc->xdma_tx = xdma_ofw_get(sc->dev, "tx");
if (sc->xdma_tx == NULL) {
device_printf(dev, "Could not find DMA controller.\n");