diff options
author | Michael Reed <mdr@sgi.com> | 2006-01-25 20:05:18 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-31 15:39:41 -0500 |
commit | 3bc7bf1d1294642f87c4f7df04c048dafa38ad51 (patch) | |
tree | 263a1466b905e3e3685f84975f4bd7850b489042 /drivers/message/fusion/mptbase.h | |
parent | 79de278e86121cd4473c276409f834aee87f3195 (diff) |
[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>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 5c2ce949fe80..47f12b9e58cd 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -510,9 +510,10 @@ struct mptfc_rport_info | |||
510 | { | 510 | { |
511 | struct list_head list; | 511 | struct list_head list; |
512 | struct fc_rport *rport; | 512 | struct fc_rport *rport; |
513 | VirtDevice *vdev; | 513 | struct scsi_target *starget; |
514 | FCDevicePage0_t pg0; | 514 | FCDevicePage0_t pg0; |
515 | u8 flags; | 515 | u8 flags; |
516 | u8 remap_needed; | ||
516 | }; | 517 | }; |
517 | 518 | ||
518 | /* | 519 | /* |
@@ -804,6 +805,12 @@ typedef struct _mpt_sge { | |||
804 | #define dreplyprintk(x) | 805 | #define dreplyprintk(x) |
805 | #endif | 806 | #endif |
806 | 807 | ||
808 | #ifdef DMPT_DEBUG_FC | ||
809 | #define dfcprintk(x) printk x | ||
810 | #else | ||
811 | #define dfcprintk(x) | ||
812 | #endif | ||
813 | |||
807 | #ifdef MPT_DEBUG_TM | 814 | #ifdef MPT_DEBUG_TM |
808 | #define dtmprintk(x) printk x | 815 | #define dtmprintk(x) printk x |
809 | #define DBG_DUMP_TM_REQUEST_FRAME(mfp) \ | 816 | #define DBG_DUMP_TM_REQUEST_FRAME(mfp) \ |