From: Eddie Wai Date: Mon, 16 May 2011 18:13:18 +0000 (-0700) Subject: bnx2i: Fixed packet error created when the sq_size is set to 16 X-Git-Tag: v2.6.39.1~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f04c018579fcbded5f53fb8447925e1762751315;p=pandora-kernel.git bnx2i: Fixed packet error created when the sq_size is set to 16 commit 7287c63e986fe1a51a89f4bb1327320274a7a741 upstream. The number of chip's internal command cell, which is use to generate SCSI cmd packets to the target, was not initialized correctly by the driver when the sq_size is changed from the default 128. This, in turn, will create a problem where the chip's transmit pipe will erroneously reuse an old command cell that is no longer valid. The fix is to correctly initialize the chip's command cell upon setup. Signed-off-by: Eddie Wai Reviewed-by: Mike Christie Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed