Re: What breaks aic7xxx in post 2.6.12-rc2 ?

James Bottomley
2005-05-30T14:39:49Z

On Thu, 2005-05-26 at 19:35 +0200, Grégoire Favre wrote:
> That's with vanilla 2.6.12-rc5 if I have to patch, just tell me :-)

OK, I have two things for you to try.

The first is the attached, which, I think, enforces the limits this
device is expecting. It's really just a sanity check to see if the
problem is what I think it is (device negotiates a transfer setting it
can't actually support).

James

diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c
@@ -735,6 +735,7 @@ ahc_linux_slave_configure(struct scsi_de

/* Initial Domain Validation */
if (!spi_initial_dv(device->sdev_target))
+ spi_min_period(device->sdev_target) = 100;
spi_dv_device(device);

return 0;