diff options
author | Michael Reed <mdr@sgi.com> | 2006-05-24 16:07:24 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-10 16:59:19 -0400 |
commit | ca2f938efe71ca48cbc689db4df8d4f04b5d8f07 (patch) | |
tree | 044df117f00aa7838d83a78aa40ed41c1f0baf31 /drivers/message/fusion/mptbase.h | |
parent | 80d3ac77a84987d5132726f3d7cef342a280f7d9 (diff) |
[SCSI] mptfc: set fibre channel fw target missing timers to one second
The fibre channel firmware provides a timer which is similar in purpose
to the fibre channel transport's device loss timer. The effect of this
timer is to extend the total time that a target will be missing beyond
the value associated with the transport's timer. This patch changes
the firmware timer to a default of one second which significantly reduces
the lag between when a target goes missing and the notification of the
fibre channel transport.
Signed-off-by: Michael Reed <mdr@sgi.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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 693c95c9034a..29f6b986946f 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -487,6 +487,15 @@ typedef struct _RaidCfgData { | |||
487 | int isRaid; /* bit field, 1 if RAID */ | 487 | int isRaid; /* bit field, 1 if RAID */ |
488 | }RaidCfgData; | 488 | }RaidCfgData; |
489 | 489 | ||
490 | typedef struct _FcCfgData { | ||
491 | /* will ultimately hold fc_port_page0 also */ | ||
492 | struct { | ||
493 | FCPortPage1_t *data; | ||
494 | dma_addr_t dma; | ||
495 | int pg_sz; | ||
496 | } fc_port_page1[2]; | ||
497 | } FcCfgData; | ||
498 | |||
490 | #define MPT_RPORT_INFO_FLAGS_REGISTERED 0x01 /* rport registered */ | 499 | #define MPT_RPORT_INFO_FLAGS_REGISTERED 0x01 /* rport registered */ |
491 | #define MPT_RPORT_INFO_FLAGS_MISSING 0x02 /* missing from DevPage0 scan */ | 500 | #define MPT_RPORT_INFO_FLAGS_MISSING 0x02 /* missing from DevPage0 scan */ |
492 | 501 | ||
@@ -565,6 +574,7 @@ typedef struct _MPT_ADAPTER | |||
565 | SpiCfgData spi_data; /* Scsi config. data */ | 574 | SpiCfgData spi_data; /* Scsi config. data */ |
566 | RaidCfgData raid_data; /* Raid config. data */ | 575 | RaidCfgData raid_data; /* Raid config. data */ |
567 | SasCfgData sas_data; /* Sas config. data */ | 576 | SasCfgData sas_data; /* Sas config. data */ |
577 | FcCfgData fc_data; /* Fc config. data */ | ||
568 | MPT_IOCTL *ioctl; /* ioctl data pointer */ | 578 | MPT_IOCTL *ioctl; /* ioctl data pointer */ |
569 | struct proc_dir_entry *ioc_dentry; | 579 | struct proc_dir_entry *ioc_dentry; |
570 | struct _MPT_ADAPTER *alt_ioc; /* ptr to 929 bound adapter port */ | 580 | struct _MPT_ADAPTER *alt_ioc; /* ptr to 929 bound adapter port */ |