[SCSI] be2iscsi: Fix support for V2 version of WRB.
authorJohn Soni Jose <sony.john-n@emulex.com>
Fri, 19 Oct 2012 23:14:23 +0000 (04:44 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:39 +0000 (08:59 +0400)
commit09a1093a292aa88af836f4fb3b604af9aa1ece3d
tree29ec5e18d6072984a10942a914892a15f5bdfe66
parenteaae5267de0b199720e8df6124685268b6258015
[SCSI] be2iscsi: Fix support for V2 version of WRB.

Latest adapters use the V2 version of WRB. This fix checks for the
adapter type and uses appropriate version of WRB.

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_main.c
drivers/scsi/be2iscsi/be_main.h