aboutsummaryrefslogtreecommitdiff
path: root/hw/mips/gt64xxx_pci.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-10-02 23:25:17 +0200
committerEduardo Habkost <ehabkost@redhat.com>2018-10-24 06:44:59 -0300
commitd126869934314f35b15c5925d3f445357b7f5af0 (patch)
treec01221f1d78b32a1177d94c90e8b1fbcf84dbd12 /hw/mips/gt64xxx_pci.c
parent43fd7bbf53b66ce3239c33747832044fe9154f72 (diff)
downloadqemu-d126869934314f35b15c5925d3f445357b7f5af0.zip
qemu-d126869934314f35b15c5925d3f445357b7f5af0.tar.gz
qemu-d126869934314f35b15c5925d3f445357b7f5af0.tar.bz2
hw/mips/gt64xxx_pci: Mark as bridge device
The gt64120 is currently listed as uncategorized device. Mark it as bridge device. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20181002212522.23303-9-f4bug@amsat.org> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/mips/gt64xxx_pci.c')
-rw-r--r--hw/mips/gt64xxx_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/mips/gt64xxx_pci.c b/hw/mips/gt64xxx_pci.c
index dcd1a66..1cd8aac 100644
--- a/hw/mips/gt64xxx_pci.c
+++ b/hw/mips/gt64xxx_pci.c
@@ -1232,6 +1232,7 @@ static void gt64120_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
+ set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
dc->reset = gt64120_reset;
dc->vmsd = &vmstate_gt64120;
}