[SCSI] lpfc 8.1.10 : Add support for new lpfc soft_wwpn attribute
[linux-block.git] / drivers / scsi / lpfc / lpfc.h
index efec44d267c7cf8bef12f8aa03ab2ad09cdcee30..3f7f5f8abd7517524b330ac2cd98c13f3444999a 100644 (file)
@@ -303,6 +303,7 @@ struct lpfc_hba {
        uint32_t cfg_poll_tmo;
        uint32_t cfg_sg_seg_cnt;
        uint32_t cfg_sg_dma_buf_size;
+       uint64_t cfg_soft_wwpn;
 
        uint32_t dev_loss_tmo_changed;
 
@@ -354,6 +355,8 @@ struct lpfc_hba {
 #define VPD_PORT            0x8         /* valid vpd port data */
 #define VPD_MASK            0xf         /* mask for any vpd data */
 
+       uint8_t soft_wwpn_enable;
+
        struct timer_list fcp_poll_timer;
        struct timer_list els_tmofunc;