]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] SPI DV: be more conservative about echo buffer usage
authorJames Bottomley <James.Bottomley@steeleye.com>
Mon, 28 Nov 2005 21:41:58 +0000 (15:41 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 1 Dec 2005 21:59:43 +0000 (15:59 -0600)
commit595e604f14dbe8a79bcf2a7be1ea3b4df6c6c767
treede4a8552c91377a86c928ceca12807dc5d30c379
parent1b7bc3a49e2e7436c1682ae751085ce664b72379
[SCSI] SPI DV: be more conservative about echo buffer usage

Some SCSI devices apparently get very confused if we try to use the
echo buffer on a non-DT negotiated bus (this mirrors the problems of
using PPR on non-LVD for some devices).  The fix is to be far more
conservative about when we use an echo buffer.  With this patch, we'll
now see what parameters are negotiated by the read only test, and only
look for an echo buffer if DT is negotiated.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_spi.c