mptscsih_set_queue_depth(device, hd, pTarget, MPT_SCSI_CMD_PER_DEV_HIGH); 
mptscsih_change_queue_depth(device, MPT_SCSI_CMD_PER_DEV_HIGH); 
mptscsih_slave_configure(struct scsi_device *device){	struct Scsi_Host	*sh = device->host;	VirtDevice		*pTarget;	MPT_SCSI_HOST		*hd = (MPT_SCSI_HOST *)sh->hostdata;	if ((hd == NULL) || (hd->Targets == NULL)) {		return 0;	}	dsprintk((MYIOC_s_INFO_FMT		"device @ %p, id=%d, LUN=%d, channel=%d\n",		hd->ioc->name, device, device->id, device->lun, device->channel));	dsprintk((MYIOC_s_INFO_FMT		"sdtr %d wdtr %d ppr %d inq length=%d\n",		hd->ioc->name, device->sdtr, device->wdtr,		device->ppr, device->inquiry_len));	if (device->id > sh->max_id) {		/* error case, should never happen */		scsi_adjust_queue_depth(device, 0, 1);		goto slave_configure_exit;	}	pTarget = hd->Targets[device->id];	if (pTarget == NULL) {		/* Driver doesn't know about this device.		 * Kernel may generate a "Dummy Lun 0" which		 * may become a real Lun if a 		 * "scsi add-single-device" command is executed		 * while the driver is active (hot-plug a 		 * device).  LSI Raid controllers need 		 * queue_depth set to DEV_HIGH for this reason.		 */		scsi_adjust_queue_depth(device, MSG_SIMPLE_TAG,			MPT_SCSI_CMD_PER_DEV_HIGH);		goto slave_configure_exit;	}	mptscsih_initTarget(hd, device->channel, device->id, device->lun,		device->inquiry, device->inquiry_len );	mptscsih_set_queue_depth(device, hd, pTarget, MPT_SCSI_CMD_PER_DEV_HIGH);	dsprintk((MYIOC_s_INFO_FMT		"Queue depth=%d, tflags=%x\n",		hd->ioc->name, device->queue_depth, pTarget->tflags));	dsprintk((MYIOC_s_INFO_FMT		"negoFlags=%x, maxOffset=%x, SyncFactor=%x\n",		hd->ioc->name, pTarget->negoFlags, pTarget->maxOffset, pTarget->minSyncFactor));slave_configure_exit:	dsprintk((MYIOC_s_INFO_FMT		"tagged %d, simple %d, ordered %d\n",		hd->ioc->name,device->tagged_supported, device->simple_tags,		device->ordered_tags));	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/6e3815ba3a6d392fa9cfbf08208f64c06d9558c4/mptscsih.c/buggy/drivers/message/fusion/mptscsih.c