void * sn_pci_alloc_consistent (struct pci_dev * hwdev, size_t size, dma_addr_t * dma_handle);
pci_alloc_consistent returns a pointer to a memory region suitable for coherent DMA traffic to/from a PCI device. On SN platforms, this means that dma_handle will have the PCIIO_DMA_CMD flag set.
This interface is usually used for ``command'' streams (e.g. the command queue for a SCSI controller). See Documentation/DMA-mapping.txt for more information. Note that this routine will always put a 32 bit DMA address into dma_handle. This is because most devices that are capable of 64 bit PCI DMA transactions can't do 64 bit _coherent_ DMAs, and unfortunately this interface has to cater to the LCD. Oh well.
Also known as platform_pci_alloc_consistent by the IA64 machvec code.