printk(KERN_WARNING MYNAM ": %s: >> Attempting host reset! (sc=%p)\n", 
printk(KERN_WARNING MYNAM ": %s: Attempting host reset! (sc=%p)\n", 
mptscsih_host_reset(struct scsi_cmnd *SCpnt){	MPT_SCSI_HOST *  hd;	int              status = SUCCESS;	/*  If we can't locate the host to reset, then we failed. */	if ((hd = (MPT_SCSI_HOST *) SCpnt->device->host->hostdata) == NULL){		dtmprintk( ( KERN_WARNING MYNAM ": mptscsih_host_reset: "			     "Can't locate host! (sc=%p)\n",			     SCpnt ) );		return FAILED;	}	printk(KERN_WARNING MYNAM ": %s: >> Attempting host reset! (sc=%p)\n",	       hd->ioc->name, SCpnt);	/*  If our attempts to reset the host failed, then return a failed	 *  status.  The host will be taken off line by the SCSI mid-layer.	 */	if (mpt_HardResetHandler(hd->ioc, CAN_SLEEP) < 0){		status = FAILED;	} else {		/*  Make sure TM pending is cleared and TM state is set to		 *  NONE.		 */		hd->tmPending = 0;		hd->tmState = TM_STATE_NONE;	}	dtmprintk( ( KERN_WARNING MYNAM ": mptscsih_host_reset: "		     "Status = %s\n",		     (status == SUCCESS) ? "SUCCESS" : "FAILED" ) );	return status;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c6678e0cfb41b029c3600c54b5bb65954de1230a/mptscsih.c/buggy/drivers/message/fusion/mptscsih.c