/* Wrapper routine for freeing DMA maps DMA mappings for Direct 64 and 32 do not have any DMA maps.  */
void pcibr_dma_unmap(struct pci_dev *hwdev, dma_addr_t dma_handle, int direction)
/* Wrapper routine for freeing DMA maps DMA mappings for Direct 64 and 32 do not have any DMA maps.  */
void pcibr_dma_unmap(struct pci_dev *hwdev, dma_addr_t dma_handle, int direction)
{
	struct pcidev_info *pcidev_info = SN_PCIDEV_INFO(hwdev);
	struct pcibus_info *pcibus_info =
	    (struct pcibus_info *)pcidev_info->pdi_pcibus_info;
	if (IS_PCI32_MAPPED(dma_handle)) {
		int ate_index;
		ate_index =
		    IOPG((ATE_SWAP_OFF(dma_handle) - PCI32_MAPPED_BASE));
		pcibr_ate_free(pcibus_info, ate_index);
	}
}