dma_addr_t indma; int err;  indma = pci_map_single(dev->pdev, eq_context, MTHCA_EQ_CONTEXT_SIZE, PCI_DMA_TODEVICE); if (pci_dma_mapping_error(indma)) return -ENOMEM;  err = mthca_cmd(dev, indma, eq_num, 0, CMD_SW2HW_EQ, CMD_TIME_CLASS_A, status);  pci_unmap_single(dev->pdev, indma, MTHCA_EQ_CONTEXT_SIZE, PCI_DMA_TODEVICE); return err;
return mthca_cmd(dev, mailbox->dma, eq_num, 0, CMD_SW2HW_EQ, CMD_TIME_CLASS_A, status);
int mthca_SW2HW_EQ(struct mthca_dev *dev, void *eq_context,		   int eq_num, u8 *status){	dma_addr_t indma;	int err;	indma = pci_map_single(dev->pdev, eq_context,			       MTHCA_EQ_CONTEXT_SIZE,			       PCI_DMA_TODEVICE);	if (pci_dma_mapping_error(indma))		return -ENOMEM;	err = mthca_cmd(dev, indma, eq_num, 0, CMD_SW2HW_EQ,			CMD_TIME_CLASS_A, status);	pci_unmap_single(dev->pdev, indma,			 MTHCA_EQ_CONTEXT_SIZE, PCI_DMA_TODEVICE);	return err;}