int mthca_READ_MGM(struct mthca_dev *dev, int index, void *mgm, u8 *status) 
int mthca_READ_MGM(struct mthca_dev *dev, int index, struct mthca_mailbox *mailbox, u8 *status) 
int mthca_READ_MGM(struct mthca_dev *dev, int index, void *mgm,		   u8 *status){	dma_addr_t outdma = 0;	int err;	outdma = pci_map_single(dev->pdev, mgm,				MTHCA_MGM_ENTRY_SIZE,				PCI_DMA_FROMDEVICE);	if (pci_dma_mapping_error(outdma))		return -ENOMEM;	err = mthca_cmd_box(dev, 0, outdma, index, 0,			    CMD_READ_MGM,			    CMD_TIME_CLASS_A, status);	pci_unmap_single(dev->pdev, outdma,			 MTHCA_MGM_ENTRY_SIZE,			 PCI_DMA_FROMDEVICE);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ed878458eeff9754d66f1b0325df6ebbfcdce668/mthca_cmd.c/clean/drivers/infiniband/hw/mthca/mthca_cmd.c