dma_addr_t indma;
int mthca_MGID_HASH(struct mthca_dev *dev, void *gid, u16 *hash,		    u8 *status){	dma_addr_t indma;	u64 imm;	int err;	indma = pci_map_single(dev->pdev, gid, 16, PCI_DMA_TODEVICE);	if (pci_dma_mapping_error(indma))		return -ENOMEM;	err = mthca_cmd_imm(dev, indma, &imm, 0, 0, CMD_MGID_HASH,			    CMD_TIME_CLASS_A, status);	*hash = imm;	pci_unmap_single(dev->pdev, indma, 16, PCI_DMA_TODEVICE);	return err;}