aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_mgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.h')
-rw-r--r--drivers/scsi/be2iscsi/be_mgmt.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.h b/drivers/scsi/be2iscsi/be_mgmt.h
index 00e816ee8070..3d316b82feb1 100644
--- a/drivers/scsi/be2iscsi/be_mgmt.h
+++ b/drivers/scsi/be2iscsi/be_mgmt.h
@@ -1,5 +1,5 @@
1/** 1/**
2 * Copyright (C) 2005 - 2009 ServerEngines 2 * Copyright (C) 2005 - 2010 ServerEngines
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This program is free software; you can redistribute it and/or 5 * This program is free software; you can redistribute it and/or
@@ -94,7 +94,8 @@ unsigned char mgmt_upload_connection(struct beiscsi_hba *phba,
94 unsigned short cid, 94 unsigned short cid,
95 unsigned int upload_flag); 95 unsigned int upload_flag);
96unsigned char mgmt_invalidate_icds(struct beiscsi_hba *phba, 96unsigned char mgmt_invalidate_icds(struct beiscsi_hba *phba,
97 unsigned int icd, unsigned int cid); 97 struct invalidate_command_table *inv_tbl,
98 unsigned int num_invalidate, unsigned int cid);
98 99
99struct iscsi_invalidate_connection_params_in { 100struct iscsi_invalidate_connection_params_in {
100 struct be_cmd_req_hdr hdr; 101 struct be_cmd_req_hdr hdr;
@@ -116,11 +117,6 @@ union iscsi_invalidate_connection_params {
116 struct iscsi_invalidate_connection_params_out response; 117 struct iscsi_invalidate_connection_params_out response;
117} __packed; 118} __packed;
118 119
119struct invalidate_command_table {
120 unsigned short icd;
121 unsigned short cid;
122} __packed;
123
124struct invalidate_commands_params_in { 120struct invalidate_commands_params_in {
125 struct be_cmd_req_hdr hdr; 121 struct be_cmd_req_hdr hdr;
126 unsigned int ref_handle; 122 unsigned int ref_handle;
@@ -175,7 +171,9 @@ struct mgmt_hba_attributes {
175 u8 phy_port; 171 u8 phy_port;
176 u32 firmware_post_status; 172 u32 firmware_post_status;
177 u32 hba_mtu[8]; 173 u32 hba_mtu[8];
178 u32 future_u32[4]; 174 u8 iscsi_features;
175 u8 future_u8[3];
176 u32 future_u32[3];
179} __packed; 177} __packed;
180 178
181struct mgmt_controller_attributes { 179struct mgmt_controller_attributes {
@@ -229,6 +227,7 @@ struct beiscsi_endpoint {
229 struct beiscsi_hba *phba; 227 struct beiscsi_hba *phba;
230 struct beiscsi_sess *sess; 228 struct beiscsi_sess *sess;
231 struct beiscsi_conn *conn; 229 struct beiscsi_conn *conn;
230 struct iscsi_endpoint *openiscsi_ep;
232 unsigned short ip_type; 231 unsigned short ip_type;
233 char dst6_addr[ISCSI_ADDRESS_BUF_LEN]; 232 char dst6_addr[ISCSI_ADDRESS_BUF_LEN];
234 unsigned long dst_addr; 233 unsigned long dst_addr;
@@ -246,4 +245,5 @@ unsigned char mgmt_invalidate_connection(struct beiscsi_hba *phba,
246 unsigned short cid, 245 unsigned short cid,
247 unsigned short issue_reset, 246 unsigned short issue_reset,
248 unsigned short savecfg_flag); 247 unsigned short savecfg_flag);
248
249#endif 249#endif