FreeBSD/sys/dev/mrsas/mrsas.c
/*
 * mrsas_issue_dcmd:	Issues a MFI Pass thru cmd
 * input:				Adapter soft state mfi cmd pointer
 *
 * This function is called by mrsas_issued_blocked_cmd() and
 * mrsas_issued_polled(), to build the MPT command and then fire the command
 * to Firmware.
 */
Issues a MFI Pass thru cmd
input:                               Adapter soft state mfi cmd pointer

This function is called by mrsas_issued_blocked_cmd() and
mrsas_issued_polled(), to build the MPT command and then fire the command
to Firmware.
Issues a MFI Pass thru cmd input : Adapter soft state mfi cmd pointer This function is called by mrsas_issued_blocked_cmd () and mrsas_issued_polled () to build the MPT command and then fire the command to Firmware .
int
mrsas_issue_dcmd(struct mrsas_softc *sc, struct mrsas_mfi_cmd *cmd)
{
	MRSAS_REQUEST_DESCRIPTOR_UNION *req_desc;
	req_desc = mrsas_build_mpt_cmd(sc, cmd);
	if (!req_desc) {
		device_printf(sc->mrsas_dev, "Cannot build MPT cmd.\n");
		return (1);
	}
	mrsas_fire_cmd(sc, req_desc->addr.u.low, req_desc->addr.u.high);
	return (0);
}
int mrsas_issue_dcmd ( struct mrsas_softc * sc , struct mrsas_mfi_cmd * cmd ) { MRSAS_REQUEST_DESCRIPTOR_UNION * req_desc ; req_desc = mrsas_build_mpt_cmd ( sc , cmd ) ; if ( ! req_desc ) { device_printf ( sc -> mrsas_dev , " \n " ) ; return ( 1 ) ; } mrsas_fire_cmd ( sc , req_desc -> addr . u . low , req_desc -> addr . u . high ) ; return ( 0 ) ; }
mrsas_issue_dcmd:    Issues a MFI Pass thru cmd
 input:                               Adapter soft state mfi cmd pointer
mrsas_issue_dcmd : Issues a MFI Pass thru cmd input : Adapter soft state mfi cmd pointer