commit | b1df99d9434edf3fc26f9e36ee6a443e3611e829 | [log] [tgz] |
---|---|---|
author | Sumant Patro <sumantp@lsil.com> | Tue Oct 03 12:40:47 2006 -0700 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Wed Oct 04 12:48:17 2006 -0500 |
tree | 97ce3f2351ea1a18838aea113cb79b21539d1498 | |
parent | e3bbff9f3cf91c84c76cfdd5e80041ad1b487192 [diff] |
[SCSI] megaraid_sas: frame count optimization This patch removes duplicated code in frame calculation & adds megasas_get_frame_count() that also takes into account the number of frames that can be contained in the Main frame. FW uses the frame count to pull sufficient number of frames from host memory. Signed-off-by: Sumant Patro <Sumant.Patro@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>