diff options
| author | Wojciech Macek <wma@FreeBSD.org> | 2016-04-08 11:20:56 +0000 |
|---|---|---|
| committer | Wojciech Macek <wma@FreeBSD.org> | 2016-04-08 11:20:56 +0000 |
| commit | d416a6551475b7c0113ed4c66e2b1bfef72667da (patch) | |
| tree | eae2f5810599263187ae8e1f1391f5caed433b15 | |
| parent | 3279301186099f2fe0a3b98f05944434d84c056a (diff) | |
Notes
| -rw-r--r-- | sys/dev/vnic/thunder_bgx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vnic/thunder_bgx.c b/sys/dev/vnic/thunder_bgx.c index 3494754599614..7a3a941049c08 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); |
