diff options
author | gallatin <gallatin@FreeBSD.org> | 1999-05-26 23:01:57 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 1999-05-26 23:01:57 +0000 |
commit | b5afe950d0039e26fabd75bdd242c03803121f40 (patch) | |
tree | 040900e637c5436a92b5528ed6c92fa92675aba9 /sys/pci/if_tireg.h | |
parent | 68290356efdb6c55d4f937b8eb380a3c6c8aab06 (diff) | |
download | FreeBSD-src-b5afe950d0039e26fabd75bdd242c03803121f40.zip FreeBSD-src-b5afe950d0039e26fabd75bdd242c03803121f40.tar.gz |
Allow chipset drivers to specify the direct-mapped DMA window's mask in
preparation for tsunami support. Previous chipsets' direct-mapped DMA
mask was always 1024*1024*1024. The Tsunami chipset needs it to be
2*1024*1024*1024
These changes should not affect the i386 port
Reviewed by: Doug Rabson <dfr@nlsystems.com>
Diffstat (limited to 'sys/pci/if_tireg.h')
-rw-r--r-- | sys/pci/if_tireg.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/pci/if_tireg.h b/sys/pci/if_tireg.h index b003171..666c039 100644 --- a/sys/pci/if_tireg.h +++ b/sys/pci/if_tireg.h @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_tireg.h,v 1.44 1999/05/03 16:56:07 wpaul Exp $ + * $Id: if_tireg.h,v 1.2 1999/05/03 17:44:52 wpaul Exp $ */ /* @@ -1184,7 +1184,6 @@ struct ti_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 |