On Tue, 2006-09-19 at 12:41 -0600, Eric Moore wrote: > No, I don't see spi transport layer properly setting min_period > per what inquiry says it can support. I have a device capable of doing > FAST40, however MPT Bios says it can do U320 (factor 0x8). Spi transport > tries factor=0x8 on it and the max speed inquiry test fail's. It doesn't set it at all ... min and max are set by the driver to reflect what the user bios settings are. All the SPI transport guarantees is that it will not go over/under the settings ... it doesn't guarantee it will get up to them. The issue sounds like a bug in the generic DV ... it's supposed to respect the DT setting, but it currently does this by looking at the bus signalling ... it should be respecting the inquiry data as well. Does this fix it? James diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c index 29a9a53..f66a440 100644 --- a/drivers/scsi/scsi_transport_spi.c +++ b/drivers/scsi/scsi_transport_spi.c @@ -850,7 +852,8 @@ spi_dv_device_internal(struct scsi_devic if (i->f->get_signalling) i->f->get_signalling(shost); if (spi_signalling(shost) == SPI_SIGNAL_SE || - spi_signalling(shost) == SPI_SIGNAL_HVD) + spi_signalling(shost) == SPI_SIGNAL_HVD || + !scsi_device_dt(sdev)) DV_SET(dt, 0); /* Do the read only INQUIRY tests */ spi_dv_retrain(sdev, buffer, buffer + sdev->inquiry_len, - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html