diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2010-12-22 01:00:21 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-23 23:04:37 +0100 |
commit | 794a5691147652387f4a2ffa890c5c1983e38849 (patch) | |
tree | 6d64e68ef373bb5c6caa570c7edb022e2d5185e3 /drivers/scsi/qla2xxx/qla_init.c | |
parent | [SCSI] qla2xxx: Code cleanup to remove unwanted comments and code. (diff) | |
download | linux-794a5691147652387f4a2ffa890c5c1983e38849.tar.xz linux-794a5691147652387f4a2ffa890c5c1983e38849.zip |
[SCSI] qla2xxx: Add sysfs node for displaying board temperature.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index c8ca25a8f2c2..d0a0dc9d6d36 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -498,6 +498,7 @@ qla2x00_initialize_adapter(scsi_qla_host_t *vha) vha->flags.reset_active = 0; ha->flags.pci_channel_io_perm_failure = 0; ha->flags.eeh_busy = 0; + ha->flags.thermal_supported = 1; atomic_set(&vha->loop_down_timer, LOOP_DOWN_TIME); atomic_set(&vha->loop_state, LOOP_DOWN); vha->device_flags = DFLG_NO_CABLE; |