RE: (reposting) how to get DMA'able memory within 4GB on 64-bit m

MEHTA,HIREN (hiren_mehta@agilent.com)
Thu, 28 Jun 2001 10:20:46 -0600


Then why do we have 64-bit dma_addr_t on ia64 ?

-hiren

-----Original Message-----
From: David S. Miller [mailto:davem@redhat.com]
Sent: Wednesday, June 27, 2001 2:26 PM
To: MEHTA,HIREN (A-SanJose,ex1)
Cc: 'linux-kernel@vger.kernel.org'
Subject: Re: (reposting) how to get DMA'able memory within 4GB on 64-bit
machi ne

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/