[SCSI] be2iscsi: Fix Task Completion Event handling
authorJohn Soni Jose <sony.john-n@emulex.com>
Fri, 19 Oct 2012 23:14:49 +0000 (04:44 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:40 +0000 (08:59 +0400)
commit7313326125c8da52a10780b5af3b290fa9498dcb
treec5a4237364af2a9f12f558e4dc20c59b8006ede1
parentacb9693cb007e126fd313cb696dfbf5c214514cd
[SCSI] be2iscsi: Fix Task Completion Event handling

The completion events returned by adapter differs based on the
adapter. This fix checks for the adapter type and process the
completion event.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_cmds.h
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_main.h