summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mr.h
diff options
context:
space:
mode:
authorArmen Baloyan <armen.baloyan@qlogic.com>2013-08-27 07:37:47 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-09-03 16:28:06 +0200
commitf875cd4cc4cd2cf74af9cbb63624ee4b40dab0a1 (patch)
tree9e28e2f8353edbfeac139cc27fc2337fa8985d36 /drivers/scsi/qla2xxx/qla_mr.h
parent[SCSI] qla2xxx: QLAFX00 make over temperature AEN handling informational, add... (diff)
downloadlinux-f875cd4cc4cd2cf74af9cbb63624ee4b40dab0a1.tar.xz
linux-f875cd4cc4cd2cf74af9cbb63624ee4b40dab0a1.zip
[SCSI] qla2xxx: Set default critical temperature value in cases when ISPFX00 firmware doesn't provide it
Signed-off-by: Armen Baloyan <armen.baloyan@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mr.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_mr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mr.h b/drivers/scsi/qla2xxx/qla_mr.h
index 7b33416a2a63..79a93c52baec 100644
--- a/drivers/scsi/qla2xxx/qla_mr.h
+++ b/drivers/scsi/qla2xxx/qla_mr.h
@@ -537,4 +537,7 @@ struct mr_data_fx00 {
#define QLAFX00_RESET_INTERVAL 120 /* number of seconds */
#define QLAFX00_MAX_RESET_INTERVAL 600 /* number of seconds */
#define QLAFX00_CRITEMP_INTERVAL 60 /* number of seconds */
+
+#define QLAFX00_CRITEMP_THRSHLD 80 /* Celsius degrees */
+
#endif