diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-21 15:12:18 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-21 15:12:18 -0600 |
commit | 1a55761392b8a4703039614f3ef6275f88dad4c3 (patch) | |
tree | 9dedc0a44483179b8e5bcc6705e3592a866f7ea2 /drivers/pci | |
parent | 3bb0356bb1b5a2c4434b4a3267df6dd9927ca5bf (diff) | |
parent | 8ca6e0a75a5145458e8a680edf2394375f2129da (diff) | |
download | linux-stable-1a55761392b8a4703039614f3ef6275f88dad4c3.tar.gz linux-stable-1a55761392b8a4703039614f3ef6275f88dad4c3.tar.bz2 linux-stable-1a55761392b8a4703039614f3ef6275f88dad4c3.zip |
Merge branch 'pci/host-altera' into next
* pci/host-altera:
PCI: altera: Extract TLP completion status correctly
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/pcie-altera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c index 0c1540225ca3..5043b5f00ed8 100644 --- a/drivers/pci/host/pcie-altera.c +++ b/drivers/pci/host/pcie-altera.c @@ -65,7 +65,7 @@ (((TLP_REQ_ID(pcie->root_bus_nr, RP_DEVFN)) << 16) | (tag << 8) | (be)) #define TLP_CFG_DW2(bus, devfn, offset) \ (((bus) << 24) | ((devfn) << 16) | (offset)) -#define TLP_COMP_STATUS(s) (((s) >> 12) & 7) +#define TLP_COMP_STATUS(s) (((s) >> 13) & 7) #define TLP_HDR_SIZE 3 #define TLP_LOOP 500 |