mptfusion : Transport Layer Retry support
Subsystems (2)
Quoted 1 line · James Bottomley
As long as they all apply without this one, I should be OK.
James - I removed the TLR patch. And here I've combined all the other patch's into this single patch. This applies over this weeks two mptsas patchs for backlink and integrated raid channel fix. Breaking everything out into seperate patchs will take a long time.
Signed-off-by Eric Moore <[email protected]>
drivers/message/fusion/Kconfig +0 -2
@@ -48,10 +48,8 @@ config FUSION_SAS List of supported controllers: LSISAS1064 - LSISAS1066 LSISAS1068 LSISAS1064E - LSISAS1066E LSISAS1068E config FUSION_MAX_SGE
drivers/message/fusion/mptbase.c +64 -35
273 lines not on this page · raw message
drivers/message/fusion/mptbase.h +6 -5
@@ -75,8 +75,8 @@#define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR#endif -#define MPT_LINUX_VERSION_COMMON "3.04.00" -#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.04.00" +#define MPT_LINUX_VERSION_COMMON "3.04.01" +#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.04.01"#define WHAT_MAGIC_STRING "@" "(" "#" ")"#define show_mptmod_ver (s,ver) \
@@ -307,8 +307,8 @@ typedef struct _SYSIF_REGSu32 HostIndex;/* 50 Host Index register */ u32 Reserved4[15 ];/* 54-8F */ u32 Fubar;/* 90 For Fubar usage */ -u32 Reserved5[1050 ];/* 94-10F8 */ -u32 Reset_1078;/* 10FC Reset 1078 */ +u32 Reserved5[1050 ];/* 94-10F8 */ +u32 Reset_1078;/* 10FC Reset 1078 */ }SYSIF_REGS ;/*
@@ -363,6 +363,7 @@ typedef struct _VirtDevice {#define MPT_TARGET_FLAGS_VALID_56 0x10#define MPT_TARGET_FLAGS_SAF_TE_ISSUED 0x20#define MPT_TARGET_FLAGS_RAID_COMPONENT 0x40 +#define MPT_TARGET_FLAGS_LED_ON 0x80/* * /proc/mpt interface
@@ -980,7 +981,7 @@ typedef struct _MPT_SCSI_HOST {wait_queue_head_t scandv_waitq;int scandv_wait_done;long last_queue_full; -u8 mpt_pq_filter; +u16 tm_iocstatus; }MPT_SCSI_HOST ;/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
drivers/message/fusion/mptctl.c +2 -2
@@ -2332,7 +2332,7 @@ done_free_mem: }/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ -/* Prototype Routine for the HP HOST INFO command. +/* Prototype Routine for the HOST INFO command. * * Outputs: None. * Return: 0 if successful
@@ -2568,7 +2568,7 @@ mptctl_hp_hostinfo(unsigned long arg, un }/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ -/* Prototype Routine for the HP TARGET INFO command. +/* Prototype Routine for the TARGET INFO command. * * Outputs: None. * Return: 0 if successful
drivers/message/fusion/mptctl.h +0 -5
@@ -354,9 +354,6 @@ struct mpt_ioctl_command32 {/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ -/* -* HP Specific IOCTL Defines and Structures -*/ #define CPQFCTS_IOC_MAGIC 'Z'#define HP_IOC_MAGIC 'Z'
@@ -364,8 +361,6 @@ struct mpt_ioctl_command32 {#define HP_GETHOSTINFO1 _IOR(HP_IOC_MAGIC, 20, hp_host_info_rev0_t)#define HP_GETTARGETINFO _IOR(HP_IOC_MAGIC, 21, hp_target_info_t) -/* All HP IOCTLs must include this header -*/ typedef struct _hp_header { unsigned int iocnum; unsigned int host;
drivers/message/fusion/mptfc.c +1 -13
@@ -77,10 +77,6 @@ MODULE_DESCRIPTION(my_NAME);MODULE_LICENSE ("GPL" );/* Command line args */ -static int mpt_pq_filter =0 ; -module_param (mpt_pq_filter, int,0 ); -MODULE_PARM_DESC (mpt_pq_filter," Enable peripheral qualifier filter: enable=1 (default=0)" ); -#define MPTFC_DEV_LOSS_TMO (60)static int mptfc_dev_loss_tmo =MPTFC_DEV_LOSS_TMO ;/* reasonable default */ module_param (mptfc_dev_loss_tmo, int,0 );
@@ -513,8 +509,7 @@ mptfc_slave_alloc(struct scsi_device *sdif (vtarget->num_luns ==0 ) { vtarget->ioc_id = hd->ioc->id; - vtarget->tflags =MPT_TARGET_FLAGS_Q_YES | -MPT_TARGET_FLAGS_VALID_INQUIRY ; + vtarget->tflags =MPT_TARGET_FLAGS_Q_YES ; hd->Targets[sdev->id] = vtarget; }
@@ -1129,13 +1124,6 @@ mptfc_probe(struct pci_dev *pdev, const hd->timer.data = (unsigned long ) hd; hd->timer.function = mptscsih_timer_expired; - hd->mpt_pq_filter = mpt_pq_filter; - -ddvprintk ((MYIOC_s_INFO_FMT -"mpt_pq_filter %x\n" , - ioc->name, - mpt_pq_filter)); -init_waitqueue_head (&hd->scandv_waitq); hd->scandv_wait_done =0 ; hd->last_queue_full =0 ;
drivers/message/fusion/mptsas.c +2 -15
@@ -76,16 +76,10 @@ MODULE_AUTHOR(MODULEAUTHOR);MODULE_DESCRIPTION (my_NAME);MODULE_LICENSE ("GPL" ); -static int mpt_pq_filter; -module_param (mpt_pq_filter, int,0 ); -MODULE_PARM_DESC (mpt_pq_filter, -"Enable peripheral qualifier filter: enable=1 " -"(default=0)" ); -static int mpt_pt_clear;module_param (mpt_pt_clear, int,0 );MODULE_PARM_DESC (mpt_pt_clear, -"Clear persistency table: enable=1 " +" Clear persistency table: enable=1 " "(default=MPTSCSIH_PT_CLEAR=0)" );static int mptsasDoneCtx =-1 ;
@@ -655,7 +649,7 @@ mptsas_slave_configure(struct scsi_devicsas_read_port_mode_page (sdev); - out: +out:return mptscsih_slave_configure (sdev); }
@@ -2707,7 +2701,6 @@ mptsas_probe(struct pci_dev *pdev, const hd->timer.data = (unsigned long ) hd; hd->timer.function = mptscsih_timer_expired; - hd->mpt_pq_filter = mpt_pq_filter; ioc->sas_data.ptClear = mpt_pt_clear;if (ioc->sas_data.ptClear==1 ) {
@@ -2715,12 +2708,6 @@ mptsas_probe(struct pci_dev *pdev, const ioc, MPI_SAS_OP_CLEAR_ALL_PERSISTENT); } -ddvprintk ((MYIOC_s_INFO_FMT -"mpt_pq_filter %x mpt_pq_filter %x\n" , - ioc->name, - mpt_pq_filter, - mpt_pq_filter)); -init_waitqueue_head (&hd->scandv_waitq); hd->scandv_wait_done =0 ; hd->last_queue_full =0 ;
drivers/message/fusion/mptscsih.c +105 -19
274 lines not on this page · raw message
drivers/message/fusion/mptspi.c +2 -8
@@ -83,10 +83,6 @@ static int mpt_saf_te = MPTSCSIH_SAF_TE;module_param (mpt_saf_te, int,0 );MODULE_PARM_DESC (mpt_saf_te," Force enabling SEP Processor: enable=1 (default=MPTSCSIH_SAF_TE=0)" ); -static int mpt_pq_filter =0 ; -module_param (mpt_pq_filter, int,0 ); -MODULE_PARM_DESC (mpt_pq_filter," Enable peripheral qualifier filter: enable=1 (default=0)" ); -static void mptspi_write_offset (struct scsi_target *,int );static void mptspi_write_width (struct scsi_target *,int ); static int mptspi_write_spi_device_pg1(struct scsi_target *,
@@ -1047,14 +1043,12 @@ mptspi_probe(struct pci_dev *pdev, const hd->timer.function = mptscsih_timer_expired; ioc->spi_data.Saf_Te = mpt_saf_te; - hd->mpt_pq_filter = mpt_pq_filter; hd->negoNvram =MPT_SCSICFG_USE_NVRAM ;ddvprintk ((MYIOC_s_INFO_FMT -"saf_te %x mpt_pq_filter %x\n" , +"saf_te %x\n" , ioc->name, - mpt_saf_te, - mpt_pq_filter)); + mpt_saf_te)); ioc->spi_data.noQas =0 ;init_waitqueue_head (&hd->scandv_waitq);