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

From: David S. Miller <davem_at_redhat.com>
Date: 2003-05-16 10:32:42
   From: James Bottomley <James.Bottomley@HansenPartnership.com>
   Date: 15 May 2003 19:31:20 -0500

   	if (ahd->dev_softc != NULL)
   		ahd_pci_set_dma_mask(ahd->dev_softc, 0xFFFFFFFF);
   	*vaddr = pci_alloc_consistent(ahd->dev_softc,
   				      dmat->maxsize, &map->bus_addr);

Funny how whoever wrote this didn't understand that pci_set_dma_mask()
has zero effect on pci_alloc_consistent() behavior.

Someone please tell Justin to fix this broken bit of code.
Received on Thu May 15 17:35:39 2003

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