|
@@ -1290,7 +1290,7 @@ static void pnv_phb4_class_init(ObjectClass *klass, void *data)
|
|
dc->realize = pnv_phb4_realize;
|
|
dc->realize = pnv_phb4_realize;
|
|
device_class_set_props(dc, pnv_phb4_properties);
|
|
device_class_set_props(dc, pnv_phb4_properties);
|
|
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
|
|
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
|
|
- dc->user_creatable = true;
|
|
|
|
|
|
+ dc->user_creatable = false;
|
|
dc->reset = pnv_phb4_reset;
|
|
dc->reset = pnv_phb4_reset;
|
|
|
|
|
|
xfc->notify = pnv_phb4_xive_notify;
|
|
xfc->notify = pnv_phb4_xive_notify;
|
|
@@ -1368,6 +1368,7 @@ static void pnv_phb4_root_port_class_init(ObjectClass *klass, void *data)
|
|
PCIERootPortClass *rpc = PCIE_ROOT_PORT_CLASS(klass);
|
|
PCIERootPortClass *rpc = PCIE_ROOT_PORT_CLASS(klass);
|
|
|
|
|
|
dc->desc = "IBM PHB4 PCIE Root Port";
|
|
dc->desc = "IBM PHB4 PCIE Root Port";
|
|
|
|
+ dc->user_creatable = false;
|
|
|
|
|
|
device_class_set_parent_realize(dc, pnv_phb4_root_port_realize,
|
|
device_class_set_parent_realize(dc, pnv_phb4_root_port_realize,
|
|
&rpc->parent_realize);
|
|
&rpc->parent_realize);
|