aboutsummaryrefslogtreecommitdiff
path: root/lib/crc-itu-t.c
diff options
context:
space:
mode:
authorbo yang <bo.yang@lsi.com>2007-11-09 04:14:00 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-11 18:22:43 -0600
commit14faea9f7fe1e8805629b50cf14a65a85fe4a4fd (patch)
tree10440492118c4d7c49eced392e0f1e4667933924 /lib/crc-itu-t.c
parent31ea7088974c2405e19d72f17c2afb103ef19e02 (diff)
[SCSI] megaraid_sas: check max_sgl reported by FW for setting max_sectors_per_req
1. Setting the max_sectors_per_req based on max SGL supported by the FW. Prior versions calculated this value from controller info's max_sectors_1, max_sectors_2. For certain controllers/FW, this was resulting in a value greater than max SGL supported by the FW. Now we take the min of max sgl from FW and max_sectors calculation. 2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take a max of 60 seconds to respond to the INIT cmd. Signed-off-by: Bo Yang <bo.yang@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions