diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2012-02-27 15:08:54 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-01 02:59:19 +0400 |
commit | fca9f04d460bf7c6af397dd994f1d81a3037f9dc (patch) | |
tree | 5daa8c66f56c49d189e698511e067df795b915b2 /drivers/scsi/qla4xxx/ql4_glbl.h | |
parent | 30534952743f73f1de3c6c056400d7249f5c7f75 (diff) | |
download | linux-fca9f04d460bf7c6af397dd994f1d81a3037f9dc.tar.xz |
[SCSI] qla4xxx: Export CHAP index as sysfs attribute
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_glbl.h b/drivers/scsi/qla4xxx/ql4_glbl.h index 954ba9188256..910536667cf5 100644 --- a/drivers/scsi/qla4xxx/ql4_glbl.h +++ b/drivers/scsi/qla4xxx/ql4_glbl.h @@ -81,6 +81,8 @@ int qla4xxx_set_flash(struct scsi_qla_host *ha, dma_addr_t dma_addr, uint32_t offset, uint32_t length, uint32_t options); int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, uint8_t outCount, uint32_t *mbx_cmd, uint32_t *mbx_sts); +int qla4xxx_get_chap_index(struct scsi_qla_host *ha, char *username, + char *password, int bidi, uint16_t *chap_index); void qla4xxx_queue_iocb(struct scsi_qla_host *ha); void qla4xxx_complete_iocb(struct scsi_qla_host *ha); |