]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2i: Fixed bugs in the handling of unsolicited NOP-Ins
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 23 Nov 2010 23:29:20 +0000 (15:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:10 +0000 (12:24 -0600)
commit86791fe956aad40d415544d06be5c435cc7a9a25
tree1b570cb71a80227e47979ee190f9bd2ccdc19ba0
parent6a403cec2ba99c01567bd7d8c10a99810723e6f5
[SCSI] bnx2i: Fixed bugs in the handling of unsolicited NOP-Ins

Unsolicited NOP-Ins are placed in the receive queue of the hardware
which requires to be read out regardless if the receive pipe is suspended
or not.  This patch adds the disposal of this RQ element under this
condition.
Also fixed the bug in the unsolicited NOP-In handling routine which
checks for the RESERVED_ITT.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i_hwi.c