From 6fe64cb683b112a3eff381627d5754f5c61ab398 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Sat, 18 Sep 1999 04:04:03 +0000 Subject: [PATCH] Clean up two cases of the alpha vtophys() hack that should be using alpha_XXX_dmamap() but aren't. --- sys/pci/if_axreg.h | 3 +-- sys/pci/if_stereg.h | 3 +-- 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