hw/pci-host/aspeed: Disable Root Device and place Root Port at 00:00.0 to AST2700
AST2700 does not implement a PCIe Root Device; each RC exposes a single PCIe Root Port at devfn 0:0.0. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250919093017.338309-12-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
ba6fb09048
commit
ac30597ee8
1 changed files with 2 additions and 0 deletions
|
|
@ -829,6 +829,8 @@ static void aspeed_2700_pcie_cfg_class_init(ObjectClass *klass,
|
|||
apc->nr_regs = 0x100 >> 2;
|
||||
apc->rc_msi_addr = 0x000000F0;
|
||||
apc->rc_bus_nr = 0;
|
||||
apc->rc_has_rd = false;
|
||||
apc->rc_rp_addr = PCI_DEVFN(0, 0);
|
||||
}
|
||||
|
||||
static const TypeInfo aspeed_2700_pcie_cfg_info = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue