diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-07-25 14:48:38 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 10:35:58 -0400 |
commit | d00efe3fa87fdf1df3635ba57ef3f14d03bc3ac8 (patch) | |
tree | 7af8d1d78aafc96a14ef8f6a9c1f477c493c0497 /drivers/scsi/qla4xxx/ql4_glbl.h | |
parent | 56c155b5ca427c9a6312bb0e31865f1c8ab10b2b (diff) |
[SCSI] qla4xxx: add support for set_net_config
Allows user space (iscsiadm) to send down network configuration
parameters for LLD to set private network configuration on the iSCSI
adapters.
Based on patches from Vikas Chaudhary.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_glbl.h')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_glbl.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_glbl.h b/drivers/scsi/qla4xxx/ql4_glbl.h index a53a256c1f8d..786274c48313 100644 --- a/drivers/scsi/qla4xxx/ql4_glbl.h +++ b/drivers/scsi/qla4xxx/ql4_glbl.h | |||
@@ -52,7 +52,17 @@ int qla4xxx_get_fwddb_entry(struct scsi_qla_host *ha, | |||
52 | 52 | ||
53 | int qla4xxx_set_ddb_entry(struct scsi_qla_host * ha, uint16_t fw_ddb_index, | 53 | int qla4xxx_set_ddb_entry(struct scsi_qla_host * ha, uint16_t fw_ddb_index, |
54 | dma_addr_t fw_ddb_entry_dma); | 54 | dma_addr_t fw_ddb_entry_dma); |
55 | 55 | uint8_t qla4xxx_get_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, | |
56 | uint32_t *mbox_sts, dma_addr_t init_fw_cb_dma); | ||
57 | int qla4xxx_conn_close_sess_logout(struct scsi_qla_host *ha, | ||
58 | uint16_t fw_ddb_index, | ||
59 | uint16_t connection_id, | ||
60 | uint16_t option); | ||
61 | int qla4xxx_disable_acb(struct scsi_qla_host *ha); | ||
62 | int qla4xxx_set_acb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, | ||
63 | uint32_t *mbox_sts, dma_addr_t acb_dma); | ||
64 | int qla4xxx_get_acb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, | ||
65 | uint32_t *mbox_sts, dma_addr_t acb_dma); | ||
56 | void qla4xxx_mark_device_missing(struct scsi_qla_host *ha, | 66 | void qla4xxx_mark_device_missing(struct scsi_qla_host *ha, |
57 | struct ddb_entry *ddb_entry); | 67 | struct ddb_entry *ddb_entry); |
58 | u16 rd_nvram_word(struct scsi_qla_host *ha, int offset); | 68 | u16 rd_nvram_word(struct scsi_qla_host *ha, int offset); |
@@ -75,7 +85,8 @@ void qla4xxx_dump_buffer(void *b, uint32_t size); | |||
75 | int qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, | 85 | int qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, |
76 | struct ddb_entry *ddb_entry, int lun, uint16_t mrkr_mod); | 86 | struct ddb_entry *ddb_entry, int lun, uint16_t mrkr_mod); |
77 | int qla4_is_relogin_allowed(struct scsi_qla_host *ha, uint32_t conn_err); | 87 | int qla4_is_relogin_allowed(struct scsi_qla_host *ha, uint32_t conn_err); |
78 | 88 | int qla4xxx_set_flash(struct scsi_qla_host *ha, dma_addr_t dma_addr, | |
89 | uint32_t offset, uint32_t length, uint32_t options); | ||
79 | int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, | 90 | int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, |
80 | uint8_t outCount, uint32_t *mbx_cmd, uint32_t *mbx_sts); | 91 | uint8_t outCount, uint32_t *mbx_cmd, uint32_t *mbx_sts); |
81 | 92 | ||
@@ -95,6 +106,11 @@ void qla4xxx_wake_dpc(struct scsi_qla_host *ha); | |||
95 | void qla4xxx_get_conn_event_log(struct scsi_qla_host *ha); | 106 | void qla4xxx_get_conn_event_log(struct scsi_qla_host *ha); |
96 | void qla4xxx_mailbox_premature_completion(struct scsi_qla_host *ha); | 107 | void qla4xxx_mailbox_premature_completion(struct scsi_qla_host *ha); |
97 | void qla4xxx_dump_registers(struct scsi_qla_host *ha); | 108 | void qla4xxx_dump_registers(struct scsi_qla_host *ha); |
109 | uint8_t qla4xxx_update_local_ifcb(struct scsi_qla_host *ha, | ||
110 | uint32_t *mbox_cmd, | ||
111 | uint32_t *mbox_sts, | ||
112 | struct addr_ctrl_blk *init_fw_cb, | ||
113 | dma_addr_t init_fw_cb_dma); | ||
98 | 114 | ||
99 | void qla4_8xxx_pci_config(struct scsi_qla_host *); | 115 | void qla4_8xxx_pci_config(struct scsi_qla_host *); |
100 | int qla4_8xxx_iospace_config(struct scsi_qla_host *ha); | 116 | int qla4_8xxx_iospace_config(struct scsi_qla_host *ha); |