public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4] sym53c8xx_2 error handler fix
@ 2004-11-01 21:25 Tony Battersby
  2004-11-17 13:59 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Battersby @ 2004-11-01 21:25 UTC (permalink / raw)
  To: 'Marcelo Tosatti'; +Cc: linux-scsi

The sym53c8xx_2 driver in lk 2.4.x is unmaintained.  This is a backported
fix from lk 2.6.x for a problem with the error handler never successfully
completing an abort, bus reset, device reset, or host reset.  This patch has
been well tested at my company.  Please apply.

--- linux-2.4.26-vanilla/drivers/scsi/sym53c8xx_2/sym_glue.c	Thu Nov 28 18:53:14 2002
+++ linux-2.4.26-asp/drivers/scsi/sym53c8xx_2/sym_glue.c	Fri May 21 11:43:51 2004
@@ -1149,7 +1149,6 @@
 	switch(to_do) {
 	default:
 	case SYM_EH_DO_IGNORE:
-		goto finish;
 		break;
 	case SYM_EH_DO_WAIT:
 #if LINUX_VERSION_CODE > LinuxVersionCode(2,3,0)
@@ -1193,7 +1192,6 @@
 		to_do = SYM_EH_DO_IGNORE;
 	}
 
-finish:
 	ep->to_do = to_do;
 	/* Complete the command with locks held as required by the driver */
 	if (to_do == SYM_EH_DO_COMPLETE)


Anthony J. Battersby
Cybernetics


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-17 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-01 21:25 [PATCH 2.4] sym53c8xx_2 error handler fix Tony Battersby
2004-11-17 13:59 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox