diff options
Diffstat (limited to 'sys/dev/ic/midway.c')
-rw-r--r-- | sys/dev/ic/midway.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/midway.c b/sys/dev/ic/midway.c index 65ee9fb9937..17f51400d47 100644 --- a/sys/dev/ic/midway.c +++ b/sys/dev/ic/midway.c @@ -1,4 +1,4 @@ -/* $OpenBSD: midway.c,v 1.34 2005/11/09 05:50:25 brad Exp $ */ +/* $OpenBSD: midway.c,v 1.35 2005/12/17 07:31:27 miod Exp $ */ /* (sync'd to midway.c 1.68) */ /* @@ -156,7 +156,7 @@ #if defined(__alpha__) /* XXX XXX NEED REAL DMA MAPPING SUPPORT XXX XXX */ #undef vtophys -#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)(va)) +#define vtophys(va) alpha_XXX_dmamap((vaddr_t)(va)) #endif #elif defined(__FreeBSD__) #include <machine/cpufunc.h> /* for rdtsc proto for clock.h below */ |