James Bottomley wrote: > On Fri, 2005-07-22 at 16:40 +0200, Hannes Reinecke wrote: >>I've finished the update of aic79xx to make use of the >>scsi_transport_spi infrastructure. >>The first patch is actually jgarzik's one, with some additions to make >>it work :-) >>The second patch is the integration proper. patch made a mess of it, >>however, so better to compare the files by hand ... >> >>Hope it finds your blessing. >>Comments etc welcome. > > This looks very good, thank you for doing it! > >>target27:0:10: FAST-160 WIDE SCSI 320.0 MB/s ST IU (6.25 ns, offset 127) > > There is a slight problem here: ST IU isn't a legal SCSI setting (DT is > a requirement for IU), so there's something slightly wrong in the > parameter setting somewhere. I'll take a look through the code and see > if I can spot it (probably post OLS). > You are, again, correct. The implied flags setting from SPI-3 is not taken into account. The applied patch (relative to the other two I've already sent) fixes this. But this is not the root problem. target5:0:10: FAST-160 WIDE SCSI 320.0 MB/s ST IU (6.25 ns, offset 127) scsi5: target 10 synchronous with period = 0x8, offset = 0x7f(RDSTRM|DT|IU|QAS) So, the ppr_options (which have generated the second line) are set ok, but they somehow haven't been transferred into the scsi_transport attribute. It appears that the fallback sequence doesn't quite work. But that'll warrant a new mail. Cheers, Hannes -- Dr. Hannes Reinecke hare@suse.de SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de