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 /include | |
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 'include')
-rw-r--r-- | include/phb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phb4.h b/include/phb4.h index 503d3f1..6f865b6 100644 --- a/include/phb4.h +++ b/include/phb4.h @@ -214,6 +214,7 @@ struct phb4_err { uint32_t err_bit; }; +#define PHB4_LINK_LINK_RETRIES 3 /* Link timeouts, increments of 10ms */ #define PHB4_LINK_ELECTRICAL_RETRIES 100 #define PHB4_LINK_WAIT_RETRIES 200 |