aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-09-12 14:56:18 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-12 23:04:07 -0500
commit3e9d7d5257e0dd24fc395d9040ec99aae0cd9840 (patch)
tree7c75e7bc3c97af550536eefdbbc61127462500ee /hw
parent179cf18558aac35c2eaf2c9e473baad05c654285 (diff)
downloadskiboot-3e9d7d5257e0dd24fc395d9040ec99aae0cd9840.zip
skiboot-3e9d7d5257e0dd24fc395d9040ec99aae0cd9840.tar.gz
skiboot-3e9d7d5257e0dd24fc395d9040ec99aae0cd9840.tar.bz2
phb4: Make link retries a #define
Make link retries a #define rather than open coding it in the PHB4 init code. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index b8d8706..8c24238 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2800,7 +2800,7 @@ static struct pci_slot *phb4_slot_create(struct phb *phb)
slot->ops.hreset = phb4_hreset;
slot->ops.freset = phb4_freset;
slot->ops.creset = phb4_creset;
- slot->link_retries = 3;
+ slot->link_retries = PHB4_LINK_LINK_RETRIES;
return slot;
}