mirror of https://github.com/ipxe/ipxe.git
[hermon] Increase command timeout from 2 to 10 seconds
Some commands (particularly in relation to device initialization) can occasionally take longer than 2 seconds, and the Mellanox documentation recommends a 10 second timeout. Signed-off-by: Christian Iversen <ci@iversenit.dk>pull/234/head
parent
cd126c41bb
commit
7c40227e18
|
@ -925,7 +925,7 @@ struct hermon {
|
||||||
|
|
||||||
#define HERMON_HCR_BASE 0x80680
|
#define HERMON_HCR_BASE 0x80680
|
||||||
#define HERMON_HCR_REG(x) ( HERMON_HCR_BASE + 4 * (x) )
|
#define HERMON_HCR_REG(x) ( HERMON_HCR_BASE + 4 * (x) )
|
||||||
#define HERMON_HCR_MAX_WAIT_MS 2000
|
#define HERMON_HCR_MAX_WAIT_MS 10000
|
||||||
#define HERMON_MBOX_ALIGN 4096
|
#define HERMON_MBOX_ALIGN 4096
|
||||||
#define HERMON_MBOX_SIZE 1024
|
#define HERMON_MBOX_SIZE 1024
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue