[SCSI] lpfc 8.1.2: Allow turning on internal loop-back mode
[powerpc.git] / drivers / scsi / lpfc / lpfc_mbox.c
index df88b78..c585e2b 100644 (file)
@@ -195,6 +195,9 @@ lpfc_init_link(struct lpfc_hba * phba,
                mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_PT_PT;
                mb->un.varInitLnk.link_flags |= FLAGS_TOPOLOGY_FAILOVER;
                break;
+       case FLAGS_LOCAL_LB:
+               mb->un.varInitLnk.link_flags = FLAGS_LOCAL_LB;
+               break;
        }
 
        /* NEW_FEATURE