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

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

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


-----Original Message-----
From: David S. Miller []
Sent: Wednesday, June 27, 2001 2:26 PM
To: MEHTA,HIREN (A-SanJose,ex1)
Cc: ''
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.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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