]> Pileus Git - ~andy/linux/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)
commit5ee32576269f33b66c6dbc98144aead1e74a1e91
tree1b570cb71a80227e47979ee190f9bd2ccdc19ba0
parentf0cebfb0177f26e214adca3511f37c089d1317f8
[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