diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-02-29 23:23:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-04 14:21:00 -0800 |
commit | d6e055e8733da5ce53fc69c77e379915400068c5 (patch) | |
tree | 5cb19782b7c42bb61a63bd909a0f9cff0ec645e3 /include | |
parent | 90760b21aef4e0cba31a27b454816c8881076960 (diff) | |
download | linux-d6e055e8733da5ce53fc69c77e379915400068c5.tar.bz2 |
PCI: Add constant PCI_STATUS_ERROR_BITS
This collection of PCI error bits is used in more than one driver,
so move it to the PCI core.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 3840a541a9de..101d71e0ad0d 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -42,6 +42,13 @@ #include <linux/pci_ids.h> +#define PCI_STATUS_ERROR_BITS (PCI_STATUS_DETECTED_PARITY | \ + PCI_STATUS_SIG_SYSTEM_ERROR | \ + PCI_STATUS_REC_MASTER_ABORT | \ + PCI_STATUS_REC_TARGET_ABORT | \ + PCI_STATUS_SIG_TARGET_ABORT | \ + PCI_STATUS_PARITY) + /* * The PCI interface treats multi-function devices as independent * devices. The slot/function address of each device is encoded |