From: Sumant Patro Date: Tue, 3 Oct 2006 19:40:47 +0000 (-0700) Subject: [SCSI] megaraid_sas: frame count optimization X-Git-Tag: v2.6.19-rc1~4^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1df99d9434edf3fc26f9e36ee6a443e3611e829;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed