summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa/fore_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hfa/fore_stats.c')
-rw-r--r--sys/dev/hfa/fore_stats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/hfa/fore_stats.c b/sys/dev/hfa/fore_stats.c
index 10c7b88..d8518af 100644
--- a/sys/dev/hfa/fore_stats.c
+++ b/sys/dev/hfa/fore_stats.c
@@ -148,8 +148,7 @@ fore_get_stats(fup)
cqp = hcp->hcq_cpelem;
(*hcp->hcq_status) = QSTAT_PENDING;
- dma = DMA_GET_ADDR(fup->fu_stats, sizeof(Fore_cp_stats),
- FORE_STATS_ALIGN, 0);
+ dma = (void *)vtophys(fup->fu_stats);
if (dma == NULL) {
fup->fu_stats->st_drv.drv_cm_nodma++;
(void) splx(s);
OpenPOWER on IntegriCloud