projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb5a02
)
pci: intel: Increase TLP polling counter
author
Ley Foon Tan
<ley.foon.tan@intel.com>
Fri, 24 May 2019 02:29:58 +0000
(10:29 +0800)
committer
Tom Rini
<trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000
(16:43 -0400)
Some PCIe devices require longer time to response.
Increase polling counter to 20000 (~100ms).
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/pci/pcie_intel_fpga.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pcie_intel_fpga.c
b/drivers/pci/pcie_intel_fpga.c
index 3cdf05b3144d0f1c19d9ae2448d9515e81199e08..e74b35ac1638e61f45cd709b46aa116373f8dee9 100644
(file)
--- a/
drivers/pci/pcie_intel_fpga.c
+++ b/
drivers/pci/pcie_intel_fpga.c
@@
-56,7
+56,7
@@
#define TLP_COMP_STATUS(s) (((s) >> 13) & 7)
#define TLP_BYTE_COUNT(s) (((s) >> 0) & 0xfff)
#define TLP_HDR_SIZE 3
-#define TLP_LOOP
5
00
+#define TLP_LOOP
200
00
#define DWORD_MASK 3
#define IS_ROOT_PORT(pcie, bdf) \