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

David S. Miller
2003-05-16T00:32:42Z

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.