diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2009-08-07 19:37:59 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-13 16:30:23 -0500 |
commit | e4750c989f732555fca86dd73d488c79972362db (patch) | |
tree | 8987b1c48b6e987b000c2e114ea233aeacdd5e6d /drivers/scsi/mpt2sas/mpt2sas_base.h | |
parent | 6bd4e1e4d6023f4da069fd68729c502cc4e6dfd0 (diff) | |
download | blackbird-op-linux-e4750c989f732555fca86dd73d488c79972362db.tar.gz blackbird-op-linux-e4750c989f732555fca86dd73d488c79972362db.zip |
[SCSI] mpt2sas: fix crash due to Watchdog is active while OS in standby mode
Fix oops ocurring at hibernation time. This oops was due to the firmware fault
watchdog timer still running after we freed resources. To fix the issue we need
to terminate the watchdog timer at hibernation time.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index 286c185fa9e4..a29935726e7a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.h +++ b/drivers/scsi/mpt2sas/mpt2sas_base.h @@ -673,6 +673,8 @@ typedef void (*MPT_CALLBACK)(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 VF_ID, /* base shared API */ extern struct list_head mpt2sas_ioc_list; +void mpt2sas_base_start_watchdog(struct MPT2SAS_ADAPTER *ioc); +void mpt2sas_base_stop_watchdog(struct MPT2SAS_ADAPTER *ioc); int mpt2sas_base_attach(struct MPT2SAS_ADAPTER *ioc); void mpt2sas_base_detach(struct MPT2SAS_ADAPTER *ioc); |