On 07/26/2013 06:43 PM, Hans Verkuil wrote: > The IO command size is 128 bytes for these new controllers as opposed to 64 > for the old 8001 controller. > > The Adaptec out-of-tree driver did this correctly. After comparing the two > this turned out to be the crucial difference. > > So don't hardcode the IO command size, instead use pm8001_ha->iomb_size as > that is the correct value for both old and new controllers. > > Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> > Cc: sta...@vger.kernel.org # for v3.10 and up snip
Thanks Hans. Looks good now. Acked-by: Jack Wang <xjtu...@gmail.com> James, Could you consider to include this fix into your fixes tree, without this fix new Adaptec controller support is broken, sorry for that. Jack -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html