summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa/fore_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hfa/fore_output.c')
-rw-r--r--sys/dev/hfa/fore_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hfa/fore_output.c b/sys/dev/hfa/fore_output.c
index 02266fd..c8156ec 100644
--- a/sys/dev/hfa/fore_output.c
+++ b/sys/dev/hfa/fore_output.c
@@ -264,7 +264,7 @@ fore_xmit_segment(fup, m, hxp, segp, lenp)
H_dma *sdmap;
KBuffer *m0, *m1, *mprev;
caddr_t cp, bfr;
- void *dma;
+ vm_paddr_t dma;
int pdulen, nsegs, len, align;
int compressed = 0;
@@ -404,7 +404,7 @@ retry:
/*
* Get a DMA address for the data
*/
- dma = (void *)vtophys(bfr);
+ dma = vtophys(bfr);
if (dma == NULL) {
fup->fu_stats->st_drv.drv_xm_segdma++;
fore_seg_dma_free(hxp, m0, nsegs);
OpenPOWER on IntegriCloud