bna: Multiple Definition and Interface Setup Fix
[deliverable/linux.git] / drivers / net / ethernet / brocade / bna / bfa_ioc.c
index e02d6071a9c43280236bcb8d381a44eeaa1d126a..b0307a00a109e06ca876e25d42c44773b51250be 100644 (file)
@@ -2006,8 +2006,11 @@ bfa_nw_ioc_pci_init(struct bfa_ioc *ioc, struct bfa_pcidev *pcidev,
         */
        if (ioc->asic_gen == BFI_ASIC_GEN_CT)
                bfa_nw_ioc_set_ct_hwif(ioc);
-       else
+       else {
+               WARN_ON(ioc->asic_gen != BFI_ASIC_GEN_CT2);
                bfa_nw_ioc_set_ct2_hwif(ioc);
+               bfa_nw_ioc_ct2_poweron(ioc);
+       }
 
        bfa_ioc_map_port(ioc);
        bfa_ioc_reg_init(ioc);
This page took 0.023644 seconds and 5 git commands to generate.