mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
sabre: Rename SABRE_DEVICE to SABRE
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200902224311.1321159-49-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
5182f17593
commit
5b07883c2b
3 changed files with 6 additions and 6 deletions
|
@ -585,7 +585,7 @@ static void sun4uv_init(MemoryRegion *address_space_mem,
|
|||
prom_init(hwdef->prom_addr, bios_name);
|
||||
|
||||
/* Init sabre (PCI host bridge) */
|
||||
sabre = SABRE_DEVICE(qdev_new(TYPE_SABRE));
|
||||
sabre = SABRE(qdev_new(TYPE_SABRE));
|
||||
qdev_prop_set_uint64(DEVICE(sabre), "special-base", PBM_SPECIAL_BASE);
|
||||
qdev_prop_set_uint64(DEVICE(sabre), "mem-base", PBM_MEM_BASE);
|
||||
object_property_set_link(OBJECT(sabre), "iommu", OBJECT(iommu),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue