diff options
author | Michael Neuling <mikey@neuling.org> | 2017-09-12 14:56:18 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-09-12 23:04:07 -0500 |
commit | 3e9d7d5257e0dd24fc395d9040ec99aae0cd9840 (patch) | |
tree | 7c75e7bc3c97af550536eefdbbc61127462500ee /hw | |
parent | 179cf18558aac35c2eaf2c9e473baad05c654285 (diff) | |
download | skiboot-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |