summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-07-12 12:06:54 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-13 10:19:45 +1000
commit652340ac11a2f163bb860d698d8110057c618bef (patch)
tree0f95c0f1a4ff799de3753c3f320b22c70d736415 /include
parent17b6f2b88a53d0da52bd6b50c6f22f660d7abd56 (diff)
downloadblackbird-skiboot-652340ac11a2f163bb860d698d8110057c618bef.tar.gz
blackbird-skiboot-652340ac11a2f163bb860d698d8110057c618bef.zip
phb4: Rework retries so we can do more than one
This reworks the pci link training retry code so that we can do more than one retry. This will now also print an error if a link fails to train. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/pci-slot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pci-slot.h b/include/pci-slot.h
index 1d031eaf..479bc08c 100644
--- a/include/pci-slot.h
+++ b/include/pci-slot.h
@@ -184,6 +184,7 @@ struct pci_slot {
uint32_t slot_cap;
uint64_t delay_tgt_tb;
uint64_t retries;
+ uint64_t link_retries;
struct pci_slot_ops ops;
void *data;
};
OpenPOWER on IntegriCloud