summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_bsg.h
diff options
context:
space:
mode:
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>2011-08-12 11:51:26 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-08-27 16:36:43 +0200
commit5232f801bd0cfb4122e9a28ff942965c3c485fa7 (patch)
tree1d984822ae92a0cf497897ca8aad56d32a8a8d08 /drivers/scsi/qla4xxx/ql4_bsg.h
parent[SCSI] Fix out of spec CD-ROM problem with media change (diff)
downloadlinux-5232f801bd0cfb4122e9a28ff942965c3c485fa7.tar.xz
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