mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
43fd7bbf53
commit
d126869934
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue