mv_phy_reset(ap); 
mv_stop_and_reset(ap); 
static void mv_eng_timeout(struct ata_port *ap){	struct ata_queued_cmd *qc;	unsigned long flags;	printk(KERN_ERR "ata%u: Entering mv_eng_timeout\n",ap->id);	DPRINTK("All regs @ start of eng_timeout\n");	mv_dump_all_regs(ap->host_set->mmio_base, ap->port_no,			 to_pci_dev(ap->host_set->dev));	qc = ata_qc_from_tag(ap, ap->active_tag);        printk(KERN_ERR "mmio_base %p ap %p qc %p scsi_cmnd %p &cmnd %p\n",	       ap->host_set->mmio_base, ap, qc, qc->scsicmd,	       &qc->scsicmd->cmnd);	mv_err_intr(ap);	mv_phy_reset(ap);	if (!qc) {		printk(KERN_ERR "ata%u: BUG: timeout without command\n",		       ap->id);	} else {		/* hack alert!  We cannot use the supplied completion	 	 * function from inside the ->eh_strategy_handler() thread.	 	 * libata is the only user of ->eh_strategy_handler() in	 	 * any kernel, so the default scsi_done() assumes it is	 	 * not being called from the SCSI EH.	 	 */		spin_lock_irqsave(&ap->host_set->lock, flags);		qc->scsidone = scsi_finish_command;		ata_qc_complete(qc, AC_ERR_OTHER);		spin_unlock_irqrestore(&ap->host_set->lock, flags);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c9d39130123238ac18478a42e25cb7996eacfcc0/sata_mv.c/buggy/drivers/scsi/sata_mv.c