diff options
author | Eric Moore <eric.moore@lsil.com> | 2006-07-11 19:32:33 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-13 09:30:49 -0400 |
commit | 3dc0b03fec73339199a995acd5a47478da0b4dc4 (patch) | |
tree | 4ab936aea919f385c095e336f366fd59081e6651 /drivers/message/fusion/mptbase.h | |
parent | bf4515227c36fde1887f3fc0afc25a9bb4726842 (diff) |
[SCSI] mptfusion: task abort fix's
Fix's to insure proper status is returned to midlayer
when a task abort failed to be aborted by controller
firmware.
Also sanity checks to prevent scsi cmd from being
double completed during error recovery.
Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index ea92a55da4aa..d9e3860f9b10 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -307,8 +307,8 @@ typedef struct _SYSIF_REGS | |||
307 | u32 HostIndex; /* 50 Host Index register */ | 307 | u32 HostIndex; /* 50 Host Index register */ |
308 | u32 Reserved4[15]; /* 54-8F */ | 308 | u32 Reserved4[15]; /* 54-8F */ |
309 | u32 Fubar; /* 90 For Fubar usage */ | 309 | u32 Fubar; /* 90 For Fubar usage */ |
310 | u32 Reserved5[1050];/* 94-10F8 */ | 310 | u32 Reserved5[1050];/* 94-10F8 */ |
311 | u32 Reset_1078; /* 10FC Reset 1078 */ | 311 | u32 Reset_1078; /* 10FC Reset 1078 */ |
312 | } SYSIF_REGS; | 312 | } SYSIF_REGS; |
313 | 313 | ||
314 | /* | 314 | /* |
@@ -981,7 +981,8 @@ typedef struct _MPT_SCSI_HOST { | |||
981 | wait_queue_head_t scandv_waitq; | 981 | wait_queue_head_t scandv_waitq; |
982 | int scandv_wait_done; | 982 | int scandv_wait_done; |
983 | long last_queue_full; | 983 | long last_queue_full; |
984 | u8 mpt_pq_filter; | 984 | u8 mpt_pq_filter; |
985 | u16 tm_iocstatus; | ||
985 | } MPT_SCSI_HOST; | 986 | } MPT_SCSI_HOST; |
986 | 987 | ||
987 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 988 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |