]> git.baikalelectronics.ru Git - kernel.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)
commit7d531be2b645275d7cbd6b2a741def503f55fd0a
treefde480c10f393bbd4c6ea1d2af3e189d2d6f415e
parentb5059f51823676767e43630e696143be6f359ec1
[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