aboutsummaryrefslogtreecommitdiff
path: root/sys/pci
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1999-09-18 04:04:03 +0000
committerBill Paul <wpaul@FreeBSD.org>1999-09-18 04:04:03 +0000
commit6fe64cb683b112a3eff381627d5754f5c61ab398 (patch)
tree986a687b901a8fbf9cbeb9d079667a2c7150694d /sys/pci
parent2c0431ecf6c1a19a44752f239ebc899e3068633a (diff)
Notes
Diffstat (limited to 'sys/pci')
-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