Re: [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces.

From: Grant Grundler <iod00d_at_hp.com>
Date: 2003-05-17 14:26:10
On Fri, May 16, 2003 at 04:40:25PM -0700, Jeremy Higdon wrote:
> -	/* pci_alloc_consistent gives only non-DAC addresses */
> -	test_desc.addr_hi = 0;
> +	test_desc.addr_hi = ((u64) buf_dma >> 32);
>  	test_desc.addr_lo = buf_dma & 0xffffffff;

Just curious, is the "& 0xffffffff" really necessary?
I was expecting "(u32) buf_dma" to be sufficient.

grant
Received on Fri May 16 21:27:46 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST