aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_hw.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h
index 2623a9bc7775..c4be6dc00c4c 100644
--- a/drivers/scsi/lpfc/lpfc_hw.h
+++ b/drivers/scsi/lpfc/lpfc_hw.h
@@ -312,8 +312,7 @@ struct csp {
312 312
313#ifdef __BIG_ENDIAN_BITFIELD 313#ifdef __BIG_ENDIAN_BITFIELD
314 uint16_t increasingOffset:1; /* FC Word 1, bit 31 */ 314 uint16_t increasingOffset:1; /* FC Word 1, bit 31 */
315 uint16_t randomOffset:1; /* FC Word 1, bit 30 */ 315 uint16_t response_multiple_Nport:1; /* FC Word 1, bit 29 */
316 uint16_t word1Reserved2:1; /* FC Word 1, bit 29 */
317 uint16_t fPort:1; /* FC Word 1, bit 28 */ 316 uint16_t fPort:1; /* FC Word 1, bit 28 */
318 uint16_t altBbCredit:1; /* FC Word 1, bit 27 */ 317 uint16_t altBbCredit:1; /* FC Word 1, bit 27 */
319 uint16_t edtovResolution:1; /* FC Word 1, bit 26 */ 318 uint16_t edtovResolution:1; /* FC Word 1, bit 26 */
@@ -2178,8 +2177,8 @@ typedef struct {
2178#define DMP_RSP_OFFSET 0x14 /* word 5 contains first word of rsp */ 2177#define DMP_RSP_OFFSET 0x14 /* word 5 contains first word of rsp */
2179#define DMP_RSP_SIZE 0x6C /* maximum of 27 words of rsp data */ 2178#define DMP_RSP_SIZE 0x6C /* maximum of 27 words of rsp data */
2180 2179
2181/* Structure for MB Command CONFIG_PORT (0x88) */
2182 2180
2181/* Structure for MB Command CONFIG_PORT (0x88) */
2183typedef struct { 2182typedef struct {
2184 uint32_t pcbLen; 2183 uint32_t pcbLen;
2185 uint32_t pcbLow; /* bit 31:0 of memory based port config block */ 2184 uint32_t pcbLow; /* bit 31:0 of memory based port config block */
@@ -2742,15 +2741,15 @@ struct lpfc_sli2_slim {
2742 IOCB_t IOCBs[MAX_SLI2_IOCB]; 2741 IOCB_t IOCBs[MAX_SLI2_IOCB];
2743}; 2742};
2744 2743
2745/******************************************************************* 2744/*
2746This macro check PCI device to allow special handling for LC HBAs. 2745 * This function checks PCI device to allow special handling for LC HBAs.
2747 2746 *
2748Parameters: 2747 * Parameters:
2749device : struct pci_dev 's device field 2748 * device : struct pci_dev 's device field
2750 2749 *
2751return 1 => TRUE 2750 * return 1 => TRUE
2752 0 => FALSE 2751 * 0 => FALSE
2753 *******************************************************************/ 2752 */
2754static inline int 2753static inline int
2755lpfc_is_LC_HBA(unsigned short device) 2754lpfc_is_LC_HBA(unsigned short device)
2756{ 2755{