[SCSI] fusion: FC rport code fixes
This fix's problems with recent fc submission regarding i/o being redirected to the wrong target. Signed-off-by: Michael Reed <mdr@sgi.com> Signed-off-by: Eric Moore <Eric.Moore@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
79de278e86
commit
3bc7bf1d12
@@ -510,9 +510,10 @@ struct mptfc_rport_info
|
||||
{
|
||||
struct list_head list;
|
||||
struct fc_rport *rport;
|
||||
VirtDevice *vdev;
|
||||
struct scsi_target *starget;
|
||||
FCDevicePage0_t pg0;
|
||||
u8 flags;
|
||||
u8 remap_needed;
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -804,6 +805,12 @@ typedef struct _mpt_sge {
|
||||
#define dreplyprintk(x)
|
||||
#endif
|
||||
|
||||
#ifdef DMPT_DEBUG_FC
|
||||
#define dfcprintk(x) printk x
|
||||
#else
|
||||
#define dfcprintk(x)
|
||||
#endif
|
||||
|
||||
#ifdef MPT_DEBUG_TM
|
||||
#define dtmprintk(x) printk x
|
||||
#define DBG_DUMP_TM_REQUEST_FRAME(mfp) \
|
||||
|
Reference in New Issue
Block a user