summaryrefslogtreecommitdiffstats
path: root/sys/dev/vnic/thunder_bgx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vnic/thunder_bgx.c')
-rw-r--r--sys/dev/vnic/thunder_bgx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vnic/thunder_bgx.c b/sys/dev/vnic/thunder_bgx.c
index 3494754..7a3a941 100644
--- a/sys/dev/vnic/thunder_bgx.c
+++ b/sys/dev/vnic/thunder_bgx.c
@@ -240,7 +240,7 @@ static int
bgx_poll_reg(struct bgx *bgx, uint8_t lmac, uint64_t reg, uint64_t mask,
boolean_t zero)
{
- int timeout = 100;
+ int timeout = 10;
uint64_t reg_val;
while (timeout) {
@@ -250,7 +250,7 @@ bgx_poll_reg(struct bgx *bgx, uint8_t lmac, uint64_t reg, uint64_t mask,
if (!zero && (reg_val & mask))
return (0);
- DELAY(1000);
+ DELAY(100);
timeout--;
}
return (ETIMEDOUT);
OpenPOWER on IntegriCloud