[5942] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: New Sym53c8xx 1.2 driver has trouble in single ended mode (with 53c895)

daemon@ATHENA.MIT.EDU (Gerard Roudier)
Wed Feb 17 19:33:00 1999

Date:	Thu, 18 Feb 1999 00:39:40 +0100 (MET)
From: Gerard Roudier <groudier@club-internet.fr>
To: "D. Lance Robinson" <lancer@airways.com>
Cc: linux-scsi <linux-scsi@vger.rutgers.edu>
In-Reply-To: <36CB3A26.59DAC3B6@airways.com>


On Wed, 17 Feb 1999, D. Lance Robinson wrote:

> Gerard,
> 
> The version 1.2 driver for the 53c896 seems to have problem dealing with
> bus-mode changes and in particular, with single-ended devices. I am
> getting a message...
> 
>      ncr53c895-1: unknown interrupts(s) ignored, ISTAT-0x22 DSTAT=0x0
> SIST=0x1000
> 
> with other messages, but it continually goes into a reset cycle and does
> not give up. If I remove the single-ended device from the bus, the
> driver returns to normal.
> 
> I have tried different combinations and it points to my single-ended
> device. I have two controllers, they both work fine with the LVD
> devices, but they both fail with the single-ended device (dds-3 tape
> unit) attached.
> 
> Have you seen this problem?

No, because I donnot use SE devices on LVD capable SCSI BUSes.

But indeed I missed a change when rewriting a bit the interrupt code.
This tiny patch should fix the problem.

--- linux/drivers/scsi/sym53c8xx-1.2/ncr53c8xx.c	Thu Feb 18 00:23:26 1999
+++ linux/drivers/scsi/ncr53c8xx.c	Thu Feb 18 00:30:10 1999
@@ -7196,7 +7196,7 @@
 	**=========================================================
 	*/
 
-	if (!(sist  & (STO|GEN|HTH|SGE|UDC|RST)) &&
+	if (!(sist  & (STO|GEN|HTH|SGE|UDC|SBMC|RST)) &&
 	    !(dstat & (MDPE|BF|ABRT|IID))) {
 		if	(sist & PAR)	ncr_int_par (np, sist);
 		else if (sist & MA)	ncr_int_ma (np);
------------------- CUT HERE ---------------------

Thanks for the report.

Gérard.


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post