summaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.h
diff options
context:
space:
mode:
authorEric Moore <eric.moore@lsi.com>2007-02-07 16:51:40 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-04-30 10:22:00 -0500
commit7297824581755593535fc97d2c8b6c47e2dc2db6 (patch)
tree0bfcac9cff647e370764dba070ef66df21e3ba22 /drivers/message/fusion/mptbase.h
parent4e08df3f91837656c36712f559d5ce8d80852760 (diff)
downloadtalos-op-linux-7297824581755593535fc97d2c8b6c47e2dc2db6.tar.gz
talos-op-linux-7297824581755593535fc97d2c8b6c47e2dc2db6.zip
[SCSI] fusion: fix domain validation loops
After host reset, the device are programmed to default asyn narrow nego. We need to reprogram the parameter back to previous values. If the host reset is called as a result of spi_dv_device() commands timing out, its possible to get into an infinite loop of dv to host reset. This will prevent that case, as we merely program old values. If host reset is called outside context of domain validation, then we can call spi_dv_device. Signed-off-by: Eric Moore <Eric.Moore@lsi.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index e3a39272aad6..d25d3be8fcd2 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -994,6 +994,7 @@ typedef struct _MPT_SCSI_HOST {
int scandv_wait_done;
long last_queue_full;
u16 tm_iocstatus;
+ u16 spi_pending;
struct list_head target_reset_list;
} MPT_SCSI_HOST;
OpenPOWER on IntegriCloud