diff options
-rw-r--r-- | freebsd/sys/dev/xdma/xdma_sg.c | 6 | ||||
-rw-r--r-- | freebsd/sys/dev/xilinx/if_xae.c | 2 |
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"); |