Created
October 15, 2018 22:25
-
-
Save aiberia/30196fd0b55556cb2840af4303d50216 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c | |
index f3c7b9d328..438b0a7bc0 100644 | |
--- a/hw/pci/pcie.c | |
+++ b/hw/pci/pcie.c | |
@@ -228,11 +228,11 @@ pcie_cap_v1_fill(PCIDevice *dev, uint8_t port, uint8_t type, uint8_t version) | |
pci_set_long(exp_cap + PCI_EXP_LNKCAP, | |
(port << PCI_EXP_LNKCAP_PN_SHIFT) | | |
PCI_EXP_LNKCAP_ASPMS_0S | | |
- PCI_EXP_LNK_MLW_16 | | |
+ PCI_EXP_LNK_MLW_8 | | |
PCI_EXP_LNK_LS_80); | |
pci_set_word(exp_cap + PCI_EXP_LNKSTA, | |
- PCI_EXP_LNK_MLW_16 | PCI_EXP_LNK_LS_80); | |
+ PCI_EXP_LNK_MLW_8 | PCI_EXP_LNK_LS_80); | |
if (dev->cap_present & QEMU_PCIE_LNKSTA_DLLLA) { | |
pci_word_test_and_set_mask(exp_cap + PCI_EXP_LNKSTA, | |
@@ -274,7 +274,7 @@ int pcie_cap_init(PCIDevice *dev, uint8_t offset, | |
pci_set_long(exp_cap + PCI_EXP_LNKCAP, | |
(port << PCI_EXP_LNKCAP_PN_SHIFT) | | |
PCI_EXP_LNKCAP_ASPMS_0S | | |
- PCI_EXP_LNK_MLW_16 | | |
+ PCI_EXP_LNK_MLW_8 | | |
PCI_EXP_LNK_LS_80); | |
pci_long_test_and_set_mask(exp_cap + PCI_EXP_LNKCAP, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment