aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSumant Patro <sumantp@lsil.com>2006-10-03 12:40:47 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-04 12:48:17 -0500
commitb1df99d9434edf3fc26f9e36ee6a443e3611e829 (patch)
tree97ce3f2351ea1a18838aea113cb79b21539d1498 /include
parente3bbff9f3cf91c84c76cfdd5e80041ad1b487192 (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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions