aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/pci/if_axreg.h3
-rw-r--r--sys/pci/if_stereg.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/pci/if_axreg.h b/sys/pci/if_axreg.h
index 669234a80757..1d3c3a67e8fb 100644
--- a/sys/pci/if_axreg.h
+++ b/sys/pci/if_axreg.h
@@ -571,6 +571,5 @@ struct ax_softc {
#ifdef __alpha__
#undef vtophys
-#define vtophys(va) (pmap_kextract(((vm_offset_t) (va))) \
- + 1*1024*1024*1024)
+#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
#endif
diff --git a/sys/pci/if_stereg.h b/sys/pci/if_stereg.h
index 4fe1a0f85de2..8f7d035e73d7 100644
--- a/sys/pci/if_stereg.h
+++ b/sys/pci/if_stereg.h
@@ -530,6 +530,5 @@ struct ste_mii_frame {
#ifdef __alpha__
#undef vtophys
-#define vtophys(va) (pmap_kextract(((vm_offset_t) (va))) \
- + 1*1024*1024*1024)
+#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
#endif