mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-07-21 10:24:33 +00:00
xio3130_downstream: typo fix
slt ctl/status are passed in incorrect order. Fix this up. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reported-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
This commit is contained in:
parent
a2a9d4adab
commit
8e2e95ef04
|
@ -43,7 +43,7 @@ static void xio3130_downstream_write_config(PCIDevice *d, uint32_t address,
|
||||||
{
|
{
|
||||||
uint16_t slt_ctl, slt_sta;
|
uint16_t slt_ctl, slt_sta;
|
||||||
|
|
||||||
pcie_cap_slot_get(d, &slt_sta, &slt_ctl);
|
pcie_cap_slot_get(d, &slt_ctl, &slt_sta);
|
||||||
pci_bridge_write_config(d, address, val, len);
|
pci_bridge_write_config(d, address, val, len);
|
||||||
pcie_cap_flr_write_config(d, address, val, len);
|
pcie_cap_flr_write_config(d, address, val, len);
|
||||||
pcie_cap_slot_write_config(d, slt_ctl, slt_sta, address, val, len);
|
pcie_cap_slot_write_config(d, slt_ctl, slt_sta, address, val, len);
|
||||||
|
|
Loading…
Reference in a new issue