diff options
author | Sumant Patro <sumantp@lsil.com> | 2006-10-03 12:40:47 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-04 12:48:17 -0500 |
commit | b1df99d9434edf3fc26f9e36ee6a443e3611e829 (patch) | |
tree | 97ce3f2351ea1a18838aea113cb79b21539d1498 /drivers/scsi/megaraid/megaraid_sas.h | |
parent | e3bbff9f3cf91c84c76cfdd5e80041ad1b487192 (diff) | |
download | op-kernel-dev-b1df99d9434edf3fc26f9e36ee6a443e3611e829.zip op-kernel-dev-b1df99d9434edf3fc26f9e36ee6a443e3611e829.tar.gz |
[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 'drivers/scsi/megaraid/megaraid_sas.h')
0 files changed, 0 insertions, 0 deletions