aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hw4.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2011-04-16 11:03:17 -0400
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 12:03:38 -0400
commit9589b062f53e314ea3abfaca8de7a260b4ef69c2 (patch)
treee1a1e7138e2950aac7a83a7833fe50a9271b8288 /drivers/scsi/lpfc/lpfc_hw4.h
parent86a80846a68eeb8575119db61f6b262f49522e6f (diff)
[SCSI] lpfc 8.3.23: Miscellaneous fixes
Miscellaneous fixes - Do not limit RPI Count to a minimum of 64 - Fix FCFI incorrect on received unsolicited frames. - Save the FCFI returned in the REG_FCFI mailbox command if it was successful. - Fixed Vports not sending FDISC after lips. - Align based on the SLI4_PAGE_SIZE. - Fixed double byte swap on received RRQ. - Fixed mask size for the wq_id mask from 0x7F to 0x7FFF. - Clear FC_FABRIC flag when NPIV LOGO completes (and add a log message). - Modified driver to skip round robin only when ulpStatus==LOCAL_REJECT and word4=SEQUENCE_TIMEOUT to prevent FLOGI to disconnected FCF. - Don't add rport if driver unloading Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_hw4.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h
index 8433ac0d9fb4..a8e2c6993d41 100644
--- a/drivers/scsi/lpfc/lpfc_hw4.h
+++ b/drivers/scsi/lpfc/lpfc_hw4.h
@@ -2108,6 +2108,8 @@ struct lpfc_mbx_pc_sli4_params {
2108#define sgl_pp_align_WORD word12 2108#define sgl_pp_align_WORD word12
2109 uint32_t rsvd_13_63[51]; 2109 uint32_t rsvd_13_63[51];
2110}; 2110};
2111#define SLI4_PAGE_ALIGN(addr) (((addr)+((SLI4_PAGE_SIZE)-1)) \
2112 &(~((SLI4_PAGE_SIZE)-1)))
2111 2113
2112struct lpfc_sli4_parameters { 2114struct lpfc_sli4_parameters {
2113 uint32_t word0; 2115 uint32_t word0;
@@ -2524,7 +2526,7 @@ struct wqe_common {
2524#define wqe_wqes_WORD word10 2526#define wqe_wqes_WORD word10
2525/* Note that this field overlaps above fields */ 2527/* Note that this field overlaps above fields */
2526#define wqe_wqid_SHIFT 1 2528#define wqe_wqid_SHIFT 1
2527#define wqe_wqid_MASK 0x0000007f 2529#define wqe_wqid_MASK 0x00007fff
2528#define wqe_wqid_WORD word10 2530#define wqe_wqid_WORD word10
2529#define wqe_pri_SHIFT 16 2531#define wqe_pri_SHIFT 16
2530#define wqe_pri_MASK 0x00000007 2532#define wqe_pri_MASK 0x00000007