diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2010-02-20 08:02:39 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-03 17:39:24 +0530 |
commit | 4183122dbc7c489f11971c5afa8e42011bca7fa2 (patch) | |
tree | 4bd6555c54196a2d36f5215f8025a422522d8964 /drivers/scsi/be2iscsi/be_main.h | |
parent | 309ce156aa27f29338438011d292a8d6496623d3 (diff) | |
download | blackbird-obmc-linux-4183122dbc7c489f11971c5afa8e42011bca7fa2.tar.gz blackbird-obmc-linux-4183122dbc7c489f11971c5afa8e42011bca7fa2.zip |
[SCSI] be2iscsi: Cleanup of resets for device and target
This patch cleans up device and target reset handling
for the driver
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index c53a80ab796c..d4d31dc09088 100644 --- a/drivers/scsi/be2iscsi/be_main.h +++ b/drivers/scsi/be2iscsi/be_main.h @@ -257,6 +257,11 @@ struct hba_parameters { unsigned int num_sge; }; +struct invalidate_command_table { + unsigned short icd; + unsigned short cid; +} __packed; + struct beiscsi_hba { struct hba_parameters params; struct hwi_controller *phwi_ctrlr; @@ -329,6 +334,8 @@ struct beiscsi_hba { struct work_struct work_cqs; /* The work being queued */ struct be_ctrl_info ctrl; unsigned int generation; + struct invalidate_command_table inv_tbl[128]; + }; struct beiscsi_session { |