int mthca_WRITE_MGM(struct mthca_dev *dev, int index, void *mgm, u8 *status)
int mthca_WRITE_MGM(struct mthca_dev *dev, int index, struct mthca_mailbox *mailbox, u8 *status)
int mthca_WRITE_MGM(struct mthca_dev *dev, int index, void *mgm,		    u8 *status){	dma_addr_t indma;	int err;	indma = pci_map_single(dev->pdev, mgm,			       MTHCA_MGM_ENTRY_SIZE,			       PCI_DMA_TODEVICE);	if (pci_dma_mapping_error(indma))		return -ENOMEM;	err = mthca_cmd(dev, indma, index, 0, CMD_WRITE_MGM,			CMD_TIME_CLASS_A, status);	pci_unmap_single(dev->pdev, indma,			 MTHCA_MGM_ENTRY_SIZE, PCI_DMA_TODEVICE);	return err;}