[parisc-linux-cvs] linux deller

Helge Deller parisc-linux@lists.parisc-linux.org
Thu, 3 Jan 2002 13:00:47 -0700 (MST)

CVSROOT:	/var/cvs
Module name:	linux
Changes by:	deller	02/01/03 13:00:47

Modified files:
	.              : Makefile 
	drivers/scsi   : 53c700.scr 

Log message:
- 2.4.16-pa32
- patch by James Bottomley <James.Bottomley@HansenPartnership.com>
which makes my Yamaha SCSI CD writer working with the lasi700 SCSI

Taken from his mail:
The trace says it's still at MSG OUT, REQ whereas it should have transitioned
to CMD, REQ.  There are two possibilities:

1. The device detected a parity error in the message phase and is asking for
a retry.  This is unlikely given that it does this every time and that other
devices have no problem.

2. The device is behaving oddly with the phase envelopment requirements of
SCSI-2.  Technically, it is allowed to wait until ACK negation to change
phase, but devices usually change on ATN negation.

Based on 2, The attached patch inserts an explicit clear ATN clear ACK into
the script before sampling for the command phase.