diff options
author | Chen, Gong <gong.chen@linux.intel.com> | 2014-08-13 02:22:40 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-25 11:42:40 -0400 |
commit | 846fc70986a65563a19ae86928c3acf34f12296d (patch) | |
tree | 23f5dbab066154b3ecb69ca89b14cf1f8a90452c /drivers/vfio | |
parent | d179111767aa2a1d594023ce65abf9c81bfbb0cf (diff) |
PCI/AER: Rename PCI_ERR_UNC_TRAIN to PCI_ERR_UNC_UND
In PCIe r1.0, sec 5.10.2, bit 0 of the Uncorrectable Error Status, Mask,
and Severity Registers was for "Training Error." In PCIe r1.1, sec 7.10.2,
bit 0 was redefined to be "Undefined."
Rename PCI_ERR_UNC_TRAIN to PCI_ERR_UNC_UND to reflect this change.
No functional change.
[bhelgaas: changelog]
Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/pci/vfio_pci_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c index e50790e91f76..1de3f94aa7de 100644 --- a/drivers/vfio/pci/vfio_pci_config.c +++ b/drivers/vfio/pci/vfio_pci_config.c | |||
@@ -727,7 +727,7 @@ static int __init init_pci_ext_cap_err_perm(struct perm_bits *perm) | |||
727 | p_setd(perm, 0, ALL_VIRT, NO_WRITE); | 727 | p_setd(perm, 0, ALL_VIRT, NO_WRITE); |
728 | 728 | ||
729 | /* Writable bits mask */ | 729 | /* Writable bits mask */ |
730 | mask = PCI_ERR_UNC_TRAIN | /* Training */ | 730 | mask = PCI_ERR_UNC_UND | /* Undefined */ |
731 | PCI_ERR_UNC_DLP | /* Data Link Protocol */ | 731 | PCI_ERR_UNC_DLP | /* Data Link Protocol */ |
732 | PCI_ERR_UNC_SURPDN | /* Surprise Down */ | 732 | PCI_ERR_UNC_SURPDN | /* Surprise Down */ |
733 | PCI_ERR_UNC_POISON_TLP | /* Poisoned TLP */ | 733 | PCI_ERR_UNC_POISON_TLP | /* Poisoned TLP */ |