pci: fix function parameter order in pci_ht_msi_map().

This commit is contained in:
Jérôme Duval 2013-12-30 17:30:50 +01:00
parent 0a669f8cd8
commit b7507e8ed9

View File

@ -36,8 +36,8 @@ pci_ht_msi_map(PCIDev *device, uint64 address)
dprintf("ht msi mapping enabled\n");
info->control_value |= PCI_ht_command_msi_enable;
}
gPCI->WriteConfig(device, info->capability_offset + PCI_ht_command,
info->control_value, 2);
gPCI->WriteConfig(device, info->capability_offset + PCI_ht_command, 2,
info->control_value);
}
}