[SCSI] qla2xxx: Print thermal unsupported message.
When the Read SFP mailbox command fails on the thermal device, print a message explaining that thermal is not supported. Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
552f3f9aca
commit
37f489b580
@ -12,7 +12,7 @@
|
|||||||
* | Level | Last Value Used | Holes |
|
* | Level | Last Value Used | Holes |
|
||||||
* ----------------------------------------------------------------------
|
* ----------------------------------------------------------------------
|
||||||
* | Module Init and Probe | 0x0126 | 0x4b,0xba,0xfa |
|
* | Module Init and Probe | 0x0126 | 0x4b,0xba,0xfa |
|
||||||
* | Mailbox commands | 0x114f | 0x111a-0x111b |
|
* | Mailbox commands | 0x1150 | 0x111a-0x111b |
|
||||||
* | | | 0x112c-0x112e |
|
* | | | 0x112c-0x112e |
|
||||||
* | | | 0x113a |
|
* | | | 0x113a |
|
||||||
* | Device Discovery | 0x2087 | 0x2020-0x2022, |
|
* | Device Discovery | 0x2087 | 0x2020-0x2022, |
|
||||||
|
@ -4446,7 +4446,11 @@ qla2x00_get_thermal_temp(scsi_qla_host_t *vha, uint16_t *temp, uint16_t *frac)
|
|||||||
|
|
||||||
ql_dbg(ql_dbg_mbx + ql_dbg_verbose, vha, 0x1018,
|
ql_dbg(ql_dbg_mbx + ql_dbg_verbose, vha, 0x1018,
|
||||||
"Done %s.\n", __func__);
|
"Done %s.\n", __func__);
|
||||||
|
return rval;
|
||||||
fail:
|
fail:
|
||||||
|
ql_log(ql_log_warn, vha, 0x1150,
|
||||||
|
"Thermal not supported by this card "
|
||||||
|
"(ignoring further requests).\n");
|
||||||
return rval;
|
return rval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user