[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
Christian Iversen 2021-01-25 13:32:04 +01:00 committed by Michael Brown
parent cd126c41bb
commit 7c40227e18
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ struct hermon {
#define HERMON_HCR_BASE 0x80680
#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_SIZE 1024