summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_de.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-10 07:34:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-10 07:34:59 +0000
commit76fc5d8d8e79b754fba81a84bab2dffafe0910c1 (patch)
treed519b423b3a2b97c59a906d2d6a8c78dc1bf50c6 /sys/dev/pci/if_de.c
parentf0565ae322394c8120343781f8fd5fbe44400139 (diff)
sync to 0607
Diffstat (limited to 'sys/dev/pci/if_de.c')
-rw-r--r--sys/dev/pci/if_de.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 0b3b79beca7..78e9d19ff82 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_de.c,v 1.10 1996/05/26 00:27:41 deraadt Exp $ */
-/* $NetBSD: if_de.c,v 1.22 1996/05/13 00:03:09 mycroft Exp $ */
+/* $OpenBSD: if_de.c,v 1.11 1996/06/10 07:34:41 deraadt Exp $ */
+/* $NetBSD: if_de.c,v 1.22.4.1 1996/06/03 20:32:07 cgd Exp $ */
/*-
* Copyright (c) 1994, 1995 Matt Thomas (matt@lkg.dec.com)
@@ -420,7 +420,8 @@ static void tulip_addr_filter(tulip_softc_t *sc);
#if defined(__NetBSD__) && defined(__alpha__)
/* XXX XXX NEED REAL DMA MAPPING SUPPORT XXX XXX */
-#define vtophys(va) (vtophys(va) | 0x40000000)
+#define vtophys(va) __alpha_bus_XXX_dmamap(sc->tulip_bc, (void *)(va))
+
#endif
static int