From 136b0ee6ae5d3bf47f044865cb364156ce446a9b Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Wed, 5 Jan 2022 22:42:36 -0800 Subject: [PATCH] Increase init delay for Alveo BMC --- modules/mqnic/mqnic_board.c | 2 +- utils/mqnic-bmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mqnic/mqnic_board.c b/modules/mqnic/mqnic_board.c index 5591195c8..506060db3 100644 --- a/modules/mqnic/mqnic_board.c +++ b/modules/mqnic/mqnic_board.c @@ -564,7 +564,7 @@ static int mqnic_alveo_board_init(struct mqnic_dev *mqnic) mqnic_alveo_bmc_reg_write(mqnic, rb, 0x020000, 0); mqnic_alveo_bmc_reg_write(mqnic, rb, 0x020000, 1); - msleep(100); + msleep(200); } if (mqnic_alveo_bmc_reg_read(mqnic, rb, 0x028000) != 0x74736574) diff --git a/utils/mqnic-bmc.c b/utils/mqnic-bmc.c index 6ade53479..1fb568a3e 100644 --- a/utils/mqnic-bmc.c +++ b/utils/mqnic-bmc.c @@ -256,7 +256,7 @@ int main(int argc, char *argv[]) // reset CMS mqnic_alveo_bmc_reg_write(bmc_rb, 0x020000, 0); mqnic_alveo_bmc_reg_write(bmc_rb, 0x020000, 1); - usleep(100000); + usleep(200000); } if (mqnic_alveo_bmc_reg_read(bmc_rb, 0x028000) != 0x74736574)