if (IS_QLA2100(ha) || IS_QLA2200(ha)) queue_depth = 16; else queue_depth = 32;  if (sdev->tagged_supported) { if (ql2xmaxqdepth != 0 && ql2xmaxqdepth <= 0xffffU) queue_depth = ql2xmaxqdepth;  ql2xmaxqdepth = queue_depth;  scsi_activate_tcq(sdev, queue_depth);  qla_printk(KERN_INFO, ha, "scsi(%d:%d:%d:%d): Enabled tagged queuing, queue " "depth %d.\n", sdev->host->host_no, sdev->channel, sdev->id, sdev->lun, sdev->queue_depth); } else { scsi_adjust_queue_depth(sdev, 0 /* TCQ off */, sdev->host->hostt->cmd_per_lun /* 3 */); }  return (0); 
return 0; 
qla2xxx_slave_configure(struct scsi_device *sdev){	scsi_qla_host_t *ha = to_qla_host(sdev->host);	int queue_depth;	if (IS_QLA2100(ha) || IS_QLA2200(ha))		queue_depth = 16;	else		queue_depth = 32;	if (sdev->tagged_supported) {		if (ql2xmaxqdepth != 0 && ql2xmaxqdepth <= 0xffffU)			queue_depth = ql2xmaxqdepth;		ql2xmaxqdepth = queue_depth;		scsi_activate_tcq(sdev, queue_depth);		qla_printk(KERN_INFO, ha,		    "scsi(%d:%d:%d:%d): Enabled tagged queuing, queue "		    "depth %d.\n",		    sdev->host->host_no, sdev->channel, sdev->id, sdev->lun,		    sdev->queue_depth);	} else {		 scsi_adjust_queue_depth(sdev, 0 /* TCQ off */,		     sdev->host->hostt->cmd_per_lun /* 3 */);	}	return (0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f4f051ebb40e74ad0ba02d2cb3a6c16b0393472b/qla_os.c/clean/drivers/scsi/qla2xxx/qla_os.c