/* Called by megasas_queue_command to find out if the command to be queued is a logical drive command  */
static int megasas_is_ldio(struct scsi_cmnd *cmd)
/* Called by megasas_queue_command to find out if the command to be queued is a logical drive command  */
static int megasas_is_ldio(struct scsi_cmnd *cmd)
{
	if (!MEGASAS_IS_LOGICAL(cmd))
		return 0;
	switch (cmd->cmnd[0]) {
	case READ_10:
	case WRITE_10:
	case READ_12:
	case WRITE_12:
	case READ_6:
	case WRITE_6:
	case READ_16:
	case WRITE_16:
		return 1;
	default:
		return 0;
	}
}