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

From: MEHTA,HIREN (A-SanJose,ex1) (hiren_mehta@agilent.com)
Date: Thu Jun 28 2001 - 11:20:46 EST


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/



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