diff options
author | Harish Zunjarrao <harish.zunjarrao@qlogic.com> | 2011-08-12 02:51:26 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 08:36:43 -0600 |
commit | 5232f801bd0cfb4122e9a28ff942965c3c485fa7 (patch) | |
tree | 1d984822ae92a0cf497897ca8aad56d32a8a8d08 /drivers/scsi/qla4xxx/ql4_glbl.h | |
parent | dfcf7775815504d13a1d273073810058caf84b9d (diff) | |
download | op-kernel-dev-5232f801bd0cfb4122e9a28ff942965c3c485fa7.zip op-kernel-dev-5232f801bd0cfb4122e9a28ff942965c3c485fa7.tar.gz |
[SCSI] qla4xxx: Added restore factory defaults support using BSG
This command will causes the firmware to update all
configurations to pre-defined factory default settings.
Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com>
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_glbl.h b/drivers/scsi/qla4xxx/ql4_glbl.h index 35bd0c1..1a0f601 100644 --- a/drivers/scsi/qla4xxx/ql4_glbl.h +++ b/drivers/scsi/qla4xxx/ql4_glbl.h @@ -166,6 +166,9 @@ int qla4xxx_get_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma, uint32_t offset, uint32_t size); int qla4xxx_set_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma, uint32_t offset, uint32_t size); +int qla4xxx_restore_factory_defaults(struct scsi_qla_host *ha, + uint32_t region, uint32_t field0, + uint32_t field1); /* BSG Functions */ int qla4xxx_bsg_request(struct bsg_job *bsg_job); |