[parisc-linux-cvs] 2.4.16-pa32, lasi700 SCSI patch

Helge Deller deller@gmx.de
Thu, 3 Jan 2002 20:42:39 +0100


--------------Boundary-00=_33OD2OH4WMC48SB07URK
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

On Thursday 03 January 2002 21:00, Helge Deller wrote:
> 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
> driver
>
> 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.

--------------Boundary-00=_33OD2OH4WMC48SB07URK
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="diff"

SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC92YXIvY3ZzL2xpbnV4L01ha2Vm
aWxlLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjIzNgpkaWZmIC11IC1wIC1yMS4yMzYgTWFrZWZp
bGUKLS0tIE1ha2VmaWxlCTIwMDIvMDEvMDMgMDA6MTQ6NTkJMS4yMzYKKysrIE1ha2VmaWxlCTIw
MDIvMDEvMDMgMTk6NTc6MjkKQEAgLTEsNyArMSw3IEBACiBWRVJT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