summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_devar.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-18 19:32:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-18 19:32:02 +0000
commitfe1e506f1bee54c2acc9c06fbdc3e50b3106d0ac (patch)
treeae24517aa288ae7bf14261ae1ff43a1f086f65ef /sys/dev/pci/if_devar.h
parentf84830d0e7f87a84c4b917326e79deb5aa3734f0 (diff)
fix vtophys usage, mainly ppc-required; art@ ok and tried to bribe^H^H^H^H^Hmotivate me to bussydma 'em too (;
Diffstat (limited to 'sys/dev/pci/if_devar.h')
-rw-r--r--sys/dev/pci/if_devar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_devar.h b/sys/dev/pci/if_devar.h
index 09c870ef491..d85183c8496 100644
--- a/sys/dev/pci/if_devar.h
+++ b/sys/dev/pci/if_devar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_devar.h,v 1.12 2001/05/05 20:56:59 art Exp $ */
+/* $OpenBSD: if_devar.h,v 1.13 2001/07/18 19:32:01 mickey Exp $ */
/* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */
/*-
@@ -1027,7 +1027,7 @@ extern struct cfdriver de_cd;
#endif
#if !defined(TULIP_KVATOPHYS)
-#define TULIP_KVATOPHYS(sc, va) vtophys(va)
+#define TULIP_KVATOPHYS(sc, va) vtophys((vaddr_t)va)
#endif
#ifndef TULIP_RAISESPL