Skip to content
Snippets Groups Projects
Commit 8e2e95ef authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

xio3130_downstream: typo fix


slt ctl/status are passed in incorrect order.
Fix this up.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reported-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
parent a2a9d4ad
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ static void xio3130_downstream_write_config(PCIDevice *d, uint32_t address,
{
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);
pcie_cap_flr_write_config(d, address, val, len);
pcie_cap_slot_write_config(d, slt_ctl, slt_sta, address, val, len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment