提交 490b773a 编写于 作者: J Joe Carnuccio 提交者: James Bottomley

[SCSI] qla2xxx: Add clarifying printk to thermal access fail cases.

Signed-off-by: NJoe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: NSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 3040572d
...@@ -4518,7 +4518,8 @@ qla2x00_get_thermal_temp(scsi_qla_host_t *vha, uint16_t *temp) ...@@ -4518,7 +4518,8 @@ qla2x00_get_thermal_temp(scsi_qla_host_t *vha, uint16_t *temp)
goto done; goto done;
ql_log(ql_log_warn, vha, 0x10c9, ql_log(ql_log_warn, vha, 0x10c9,
"Thermal not supported by I2C.\n"); "Thermal not supported through I2C bus, trying alternate "
"method (ISP access).\n");
ha->thermal_support &= ~THERMAL_SUPPORT_I2C; ha->thermal_support &= ~THERMAL_SUPPORT_I2C;
} }
...@@ -4528,7 +4529,7 @@ qla2x00_get_thermal_temp(scsi_qla_host_t *vha, uint16_t *temp) ...@@ -4528,7 +4529,7 @@ qla2x00_get_thermal_temp(scsi_qla_host_t *vha, uint16_t *temp)
goto done; goto done;
ql_log(ql_log_warn, vha, 0x1019, ql_log(ql_log_warn, vha, 0x1019,
"Thermal not supported by ISP.\n"); "Thermal not supported through ISP.\n");
ha->thermal_support &= ~THERMAL_SUPPORT_ISP; ha->thermal_support &= ~THERMAL_SUPPORT_ISP;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册