diff options
| author | Chen Fan | 2015-03-10 02:49:49 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-03-18 12:19:16 +0100 |
| commit | 310e91f7d0aaec27f55969597ccbb4e83612695e (patch) | |
| tree | 3118b1ddc9643fa18d7f690840e103a92e136e49 | |
| parent | pcie_aer: fix typos in pcie_aer_inject_error comment (diff) | |
| download | qemu-310e91f7d0aaec27f55969597ccbb4e83612695e.tar.gz qemu-310e91f7d0aaec27f55969597ccbb4e83612695e.tar.xz qemu-310e91f7d0aaec27f55969597ccbb4e83612695e.zip | |
aer: fix a wrong init PCI_ERR_COR_STATUS w1cmask type register
Error Status Register, so this patch fix a wrong definition
for PCI_ERR_COR_STATUS register with w1cmask type.
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
| -rw-r--r-- | hw/pci/pcie_aer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/pcie_aer.c b/hw/pci/pcie_aer.c index 9daebc2bd8..9126058ea6 100644 --- a/hw/pci/pcie_aer.c +++ b/hw/pci/pcie_aer.c @@ -123,7 +123,7 @@ int pcie_aer_init(PCIDevice *dev, uint16_t offset) PCI_ERR_UNC_SUPPORTED); pci_long_test_and_set_mask(dev->w1cmask + offset + PCI_ERR_COR_STATUS, - PCI_ERR_COR_STATUS); + PCI_ERR_COR_SUPPORTED); pci_set_long(dev->config + offset + PCI_ERR_COR_MASK, PCI_ERR_COR_MASK_DEFAULT); |
