OSDN Git Service

net: marvell: add PCI_STATUS_SIG_TARGET_ABORT to PCI status error bits
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 29 Feb 2020 22:20:32 +0000 (23:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 22:21:00 +0000 (14:21 -0800)
In preparation of factoring out PCI_STATUS error bit handling let drivers
use the same collection of error bits. To facilitate bisecting we do this
in a separate patch per affected driver. For the Marvell drivers we have
to add PCI_STATUS_SIG_TARGET_ABORT to the error bits.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/skge.h
drivers/net/ethernet/marvell/sky2.h

index a1313d5..8ef19b3 100644 (file)
@@ -19,6 +19,7 @@
                               PCI_STATUS_SIG_SYSTEM_ERROR | \
                               PCI_STATUS_REC_MASTER_ABORT | \
                               PCI_STATUS_REC_TARGET_ABORT | \
+                              PCI_STATUS_SIG_TARGET_ABORT | \
                               PCI_STATUS_PARITY)
 
 enum csr_regs {
index ada1ca6..2474d32 100644 (file)
@@ -256,6 +256,7 @@ enum {
                               PCI_STATUS_SIG_SYSTEM_ERROR | \
                               PCI_STATUS_REC_MASTER_ABORT | \
                               PCI_STATUS_REC_TARGET_ABORT | \
+                              PCI_STATUS_SIG_TARGET_ABORT | \
                               PCI_STATUS_PARITY)
 
 enum csr_regs {