Thanks. I had to duplicate it myself because it wasn't trivial issue. (and unexpectedly I managed to duplicate it instantly and reliably! Thats rare..)
Fixed. This write operation wrote two bytes to SCSI chip's FIFO and then started DMA (with size - 2 of total transfer size). Data in FIFO was ignored which caused phase mismatch.
I am not sure why SCSI Kit does this, possibly DMA requires long word alignment? But on the other hand DMA IO address and length is in words, not in longs.
|