struct opae_bridge *br;
struct opae_accelerator *acc;
struct ifpga_port_hw *port;
+ struct ifpga_fme_hw *fme;
struct feature *feature;
if (!binfo->fiu)
}
acc->br = br;
+ if (hw->adapter->mgr)
+ acc->mgr = hw->adapter->mgr;
acc->index = br->id;
+ fme = &hw->fme;
+ fme->nums_acc_region = info->num_regions;
+
opae_adapter_add_acc(hw->adapter, acc);
} else if (binfo->current_type == FME_ID) {