/* Send a command to a target after all message bytes have been sent  */
static void fas216_send_command(FAS216_Info *info)
/* Send a command to a target after all message bytes have been sent  */
static void fas216_send_command(FAS216_Info *info)
{
	int i;
	fas216_checkmagic(info);
	fas216_cmd(info, CMD_NOP|CMD_WITHDMA);
	fas216_cmd(info, CMD_FLUSHFIFO);
	for (i = info->scsi.SCp.sent_command; i < info->SCpnt->cmd_len; i++)
		fas216_writeb(info, REG_FF, info->SCpnt->cmnd[i]);
	fas216_cmd(info, CMD_TRANSFERINFO);
	info->scsi.phase = PHASE_COMMAND;
}