diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-09-18 04:04:03 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-09-18 04:04:03 +0000 |
commit | 0d70a8befd179be082bdb33eae063e74acb55129 (patch) | |
tree | 684a563d088f4ad699975f3b094085d1ae4cc273 /sys | |
parent | f5edddcfacf45d9c8038aa0da60ce561aa889fe5 (diff) | |
download | FreeBSD-src-0d70a8befd179be082bdb33eae063e74acb55129.zip FreeBSD-src-0d70a8befd179be082bdb33eae063e74acb55129.tar.gz |
Clean up two cases of the alpha vtophys() hack that should be
using alpha_XXX_dmamap() but aren't.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pci/if_axreg.h | 3 | ||||
-rw-r--r-- | 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 669234a..1d3c3a6 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 4fe1a0f..8f7d035 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 |