dev_err(dev, "Cannot identify device: %d, aborting\n", err);
                goto err_out_teardown;
        }
+       ionic_debugfs_add_ident(ionic);
 
        err = ionic_init(ionic);
        if (err) {
                goto err_out_reset;
        }
 
-       /* Configure LIFs */
-       err = ionic_lif_identify(ionic, IONIC_LIF_TYPE_CLASSIC,
-                                &ionic->ident.lif);
-       if (err) {
-               dev_err(dev, "Cannot identify LIFs: %d, aborting\n", err);
-               goto err_out_port_reset;
-       }
-
+       /* Allocate and init the LIF */
        err = ionic_lif_size(ionic);
        if (err) {
                dev_err(dev, "Cannot size LIF: %d, aborting\n", err);
 
        dev_info(ionic->dev, "FW Up: restarting LIFs\n");
 
        ionic_init_devinfo(ionic);
-       ionic_port_init(ionic);
+       err = ionic_identify(ionic);
+       if (err)
+               goto err_out;
+       err = ionic_port_identify(ionic);
+       if (err)
+               goto err_out;
+       err = ionic_port_init(ionic);
+       if (err)
+               goto err_out;
        err = ionic_qcqs_alloc(lif);
        if (err)
                goto err_out;
 
                sz = min(sizeof(ident->dev), sizeof(idev->dev_cmd_regs->data));
                memcpy_fromio(&ident->dev, &idev->dev_cmd_regs->data, sz);
        }
-
        mutex_unlock(&ionic->dev_cmd_lock);
 
-       if (err)
-               goto err_out_unmap;
+       if (err) {
+               dev_err(ionic->dev, "Cannot identify ionic: %dn", err);
+               goto err_out;
+       }
 
-       ionic_debugfs_add_ident(ionic);
+       err = ionic_lif_identify(ionic, IONIC_LIF_TYPE_CLASSIC,
+                                &ionic->ident.lif);
+       if (err) {
+               dev_err(ionic->dev, "Cannot identify LIFs: %d\n", err);
+               goto err_out;
+       }
 
        return 0;
 
-err_out_unmap:
+err_out:
        return err;
 }