aboutsummaryrefslogtreecommitdiff
path: root/hw/isa
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-01-20 16:53:59 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2017-01-24 23:26:54 +0300
commit5658ffa39aae034458231bc4abfee57637b88c6e (patch)
treeb3f35b20c773d91e93a217d2deaacf56acc748b6 /hw/isa
parentcdab4dc01a38146543d5c0d0d09433cd4b776936 (diff)
hw/isa/isa-bus: Set category of the "isabus-bridge" device
It has "bridge" in its name, so it should be in the category DEVICE_CATEGORY_BRIDGE. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/isa')
-rw-r--r--hw/isa/isa-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c
index 9d07b118c0..0ffbc8dd28 100644
--- a/hw/isa/isa-bus.c
+++ b/hw/isa/isa-bus.c
@@ -219,6 +219,7 @@ static void isabus_bridge_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
+ set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
dc->fw_name = "isa";
}