[SCSI] megaraid_sas: Fix the frame count calculation
authorbo yang <bo.yang@lsi.com>
Mon, 17 Mar 2008 07:36:43 +0000 (03:36 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:00 +0000 (12:19 -0500)
commitd532dbe2cb71586ab520dbef732d1af54a689313
treea344ad2cd18de7d8f16e65c357ae3c0c30493277
parentb70a41e077b3405d4b41d34db31b39c05bf142b5
[SCSI] megaraid_sas: Fix the frame count calculation

When Driver sent wrong frame count to firmware.  As this particular
command is sent to drive, FW is seeing continuous chip resets and so
the command will timeout.

Signed-off-by Bo Yang<bo.yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/megaraid/megaraid_sas.c
drivers/scsi/megaraid/megaraid_sas.h