From 1a47af26b71e3267f6a5da0103cb65d00b1ff32e Mon Sep 17 00:00:00 2001 From: Gabriel Krisman Bertazi Date: Tue, 3 Nov 2015 16:26:09 -0200 Subject: ipr: Issue Configure Cache Parameters command. Some new adapters require a special Configure Cache Parameters command to enable the adapter write cache, so send this during the adapter initialization if the adapter requires it. Signed-off-by: Gabriel Krisman Bertazi Acked-by: Brian King Reviewed-by: Wen Xiong Signed-off-by: Martin K. Petersen --- drivers/scsi/ipr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/scsi/ipr.h') diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 7be1271e0bf6..b16bcd14ee4e 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h @@ -216,6 +216,10 @@ #define IPR_SET_ALL_SUPPORTED_DEVICES 0x80 #define IPR_IOA_SHUTDOWN 0xF7 #define IPR_WR_BUF_DOWNLOAD_AND_SAVE 0x05 +#define IPR_IOA_SERVICE_ACTION 0xD2 + +/* IOA Service Actions */ +#define IPR_IOA_SA_CHANGE_CACHE_PARAMS 0x14 /* * Timeouts -- cgit v1.2.3