diff options
| author | Andrew R. Reiter <arr@FreeBSD.org> | 2002-06-24 05:03:44 +0000 |
|---|---|---|
| committer | Andrew R. Reiter <arr@FreeBSD.org> | 2002-06-24 05:03:44 +0000 |
| commit | 9561b109ae4cc921367f91d5a21631622fb2519a (patch) | |
| tree | 0aedaccd194d1b31cf0a5f8fecc094e0552782f5 /sys/dev/hfa/fore_init.c | |
| parent | 586fdde4bc72df22e86f2b028f92b385e7500573 (diff) | |
Notes
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 35fe207b598e..216ed32a82ed 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; |
