summaryrefslogtreecommitdiff
path: root/drivers/scsi/be2iscsi/be_main.h
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2010-02-11 05:11:15 +0530
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 13:41:10 -0600
commitf98c96b0b6572b5491e954148509b20f08f31491 (patch)
tree61754d9bc42c06511c55ca2d4bdc58f7eec386ed /drivers/scsi/be2iscsi/be_main.h
parentb3925514f6f6878e3f671fb6990874e731a26d02 (diff)
downloadlinux-3.10-f98c96b0b6572b5491e954148509b20f08f31491.tar.gz
linux-3.10-f98c96b0b6572b5491e954148509b20f08f31491.tar.bz2
linux-3.10-f98c96b0b6572b5491e954148509b20f08f31491.zip
[SCSI] be2iscsi: Adding support for BE3
This patch contains changes to support the BE3 chip Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.h')
-rw-r--r--drivers/scsi/be2iscsi/be_main.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h
index 8cbe9084bd3..c53a80ab796 100644
--- a/drivers/scsi/be2iscsi/be_main.h
+++ b/drivers/scsi/be2iscsi/be_main.h
@@ -40,11 +40,14 @@
#define DRV_DESC BE_NAME " " "Driver"
#define BE_VENDOR_ID 0x19A2
+/* DEVICE ID's for BE2 */
#define BE_DEVICE_ID1 0x212
#define OC_DEVICE_ID1 0x702
#define OC_DEVICE_ID2 0x703
+
+/* DEVICE ID's for BE3 */
+#define BE_DEVICE_ID2 0x222
#define OC_DEVICE_ID3 0x712
-#define OC_DEVICE_ID4 0x222
#define BE2_IO_DEPTH 1024
#define BE2_MAX_SESSIONS 256
@@ -325,6 +328,7 @@ struct beiscsi_hba {
struct workqueue_struct *wq; /* The actuak work queue */
struct work_struct work_cqs; /* The work being queued */
struct be_ctrl_info ctrl;
+ unsigned int generation;
};
struct beiscsi_session {