]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] bnx2i: Added chip cleanup for the remove module path
authorEddie Wai <eddie.wai@broadcom.com>
Thu, 12 Aug 2010 23:44:30 +0000 (16:44 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 5 Sep 2010 17:51:16 +0000 (14:51 -0300)
commit250ae982e2864aa0e06a09137382f44e58b51683
treefde480c10f393bbd4c6ea1d2af3e189d2d6f415e
parent2c2255e08dee510c68d641195f83d40899897c65
[SCSI] bnx2i: Added chip cleanup for the remove module path

In the case when an ep_connect request is interrupted due to route
request stall, if the iSCSI daemon is terminated by the user, the chip
will be left in a state which will not get cleaned up upon module
removal.  Upon module reload, when the same context id is used for a
new connection, chip panic would occur.

This patch adds chip cleanup in the module removal path.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Acked-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_init.c
drivers/scsi/bnx2i/bnx2i_iscsi.c