提交 13d11b0b 编写于 作者: M Marcel Apfelbaum 提交者: Michael S. Tsirkin

hw/pxb: add pxb devices to the bridge category

Signed-off-by: NMarcel Apfelbaum <marcel@redhat.com>
Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 1cdd2ee5
...@@ -302,6 +302,7 @@ static void pxb_dev_class_init(ObjectClass *klass, void *data) ...@@ -302,6 +302,7 @@ static void pxb_dev_class_init(ObjectClass *klass, void *data)
dc->desc = "PCI Expander Bridge"; dc->desc = "PCI Expander Bridge";
dc->props = pxb_dev_properties; dc->props = pxb_dev_properties;
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
} }
static const TypeInfo pxb_dev_info = { static const TypeInfo pxb_dev_info = {
...@@ -334,6 +335,7 @@ static void pxb_pcie_dev_class_init(ObjectClass *klass, void *data) ...@@ -334,6 +335,7 @@ static void pxb_pcie_dev_class_init(ObjectClass *klass, void *data)
dc->desc = "PCI Express Expander Bridge"; dc->desc = "PCI Express Expander Bridge";
dc->props = pxb_dev_properties; dc->props = pxb_dev_properties;
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
} }
static const TypeInfo pxb_pcie_dev_info = { static const TypeInfo pxb_pcie_dev_info = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册