diff options
Diffstat (limited to 'sys/dev/hfa/fore_init.c')
-rw-r--r-- | sys/dev/hfa/fore_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/hfa/fore_init.c b/sys/dev/hfa/fore_init.c index 35fe207..216ed32a 100644 --- a/sys/dev/hfa/fore_init.c +++ b/sys/dev/hfa/fore_init.c @@ -313,8 +313,7 @@ fore_get_prom(fup) cqp = hcp->hcq_cpelem; (*hcp->hcq_status) = QSTAT_PENDING; - fup->fu_promd = DMA_GET_ADDR(fup->fu_prom, sizeof(Fore_prom), - FORE_PROM_ALIGN, 0); + fup->fu_promd = (Fore_prom *)vtophys(fup->fu_prom); if (fup->fu_promd == NULL) { fup->fu_stats->st_drv.drv_cm_nodma++; return; |