summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_bsg.h
diff options
context:
space:
mode:
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>2011-08-12 02:51:26 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-08-27 08:36:43 -0600
commit5232f801bd0cfb4122e9a28ff942965c3c485fa7 (patch)
tree1d984822ae92a0cf497897ca8aad56d32a8a8d08 /drivers/scsi/qla4xxx/ql4_bsg.h
parentdfcf7775815504d13a1d273073810058caf84b9d (diff)
downloadlinux-5232f801bd0cfb4122e9a28ff942965c3c485fa7.tar.gz
linux-5232f801bd0cfb4122e9a28ff942965c3c485fa7.tar.bz2
linux-5232f801bd0cfb4122e9a28ff942965c3c485fa7.zip
[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_bsg.h')
-rw-r--r--drivers/scsi/qla4xxx/ql4_bsg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_bsg.h b/drivers/scsi/qla4xxx/ql4_bsg.h
index 71df80d612da..84a1391f9865 100644
--- a/drivers/scsi/qla4xxx/ql4_bsg.h
+++ b/drivers/scsi/qla4xxx/ql4_bsg.h
@@ -13,5 +13,6 @@
#define QLISCSI_VND_GET_ACB_STATE 3
#define QLISCSI_VND_READ_NVRAM 4
#define QLISCSI_VND_UPDATE_NVRAM 5
+#define QLISCSI_VND_RESTORE_DEFAULTS 6
#endif