aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.h
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2009-05-29 07:16:07 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-09 18:29:06 -0400
commite7deff3374cc5951f914dcb3c66bc1b8de8a084e (patch)
tree6c1e416a6cf596c48c4b0fe0b570d014a216df10 /drivers/message/fusion/mptbase.h
parent1ba9ab2eb2c53df52e498779e14cf4e5ea77b0ad (diff)
[SCSI] mpt fusion: Adding DeviceResetCtx for internal Device reset frame
1.) Added taskmgmt_quiesce_io flag in IOC and removed resetPending from _MPT_SCSI_HOST struct. 2.) Reset from Scsi mid layer and internal Reset are seperate context. Adding DeviceResetCtx for internal Device reset frame. mptsas_taskmgmt_complete is optimized as part of implementation. Signed-off-by: Kashyap Desai <kadesai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r--drivers/message/fusion/mptbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index 2129aff294d5..a0bf7d88fcfc 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -713,6 +713,7 @@ typedef struct _MPT_ADAPTER
713 MPT_MGMT taskmgmt_cmds; 713 MPT_MGMT taskmgmt_cmds;
714 spinlock_t taskmgmt_lock; /* diagnostic reset lock */ 714 spinlock_t taskmgmt_lock; /* diagnostic reset lock */
715 int taskmgmt_in_progress; 715 int taskmgmt_in_progress;
716 u8 taskmgmt_quiesce_io;
716 u8 ioc_reset_in_progress; 717 u8 ioc_reset_in_progress;
717 struct work_struct sas_persist_task; 718 struct work_struct sas_persist_task;
718 719
@@ -855,7 +856,6 @@ typedef struct _MPT_SCSI_HOST {
855 * OS callbacks. freeQ is the free pool. 856 * OS callbacks. freeQ is the free pool.
856 */ 857 */
857 u8 tmPending; 858 u8 tmPending;
858 u8 resetPending;
859 u8 negoNvram; /* DV disabled, nego NVRAM */ 859 u8 negoNvram; /* DV disabled, nego NVRAM */
860 u8 pad1; 860 u8 pad1;
861 u8 tmState; 861 u8 tmState;