Re: (reposting) how to get DMA'able memory within 4GB on 64-bit machi ne

From: David S. Miller (davem@redhat.com)
Date: Wed Jun 27 2001 - 16:26:29 EST


MEHTA,HIREN (A-SanJose,ex1) writes:
> Is there a way for a driver to ask kernel to
> give DMA'able memory within 4GB ? I read about
> pci_alloc_consistent(). But I could not find out
> whether that guarantees the DMA'able memory to be
> within 4GB or not. Is there any other kernel routine
> that I should call from Driver to get such a memory ?

All of the pci_*() DMA allocation/mapping interfaces give you
32-bit PCI dma addresses.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:17 EST