diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2009-02-10 21:54:23 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2009-02-10 21:54:23 +0000 |
| commit | 4012d104cde346ca0aded79af6c61351fd83481a (patch) | |
| tree | 80e0be73fed9d9a442b6f424ebbd39f7f11ea76e /sys/dev/bge | |
| parent | 9223a606d03b264f15a8a49b0d6660c857bc59b7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/bge')
| -rw-r--r-- | sys/dev/bge/if_bge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index 335200bf6d84..e9e5b9332c75 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -2674,11 +2674,11 @@ bge_attach(device_t dev) * if we get a conflict with the ASF firmware accessing * the PHY. */ + trys = 0; BGE_CLRBIT(sc, BGE_MODE_CTL, BGE_MODECTL_STACKUP); again: bge_asf_driver_up(sc); - trys = 0; if (mii_phy_probe(dev, &sc->bge_miibus, bge_ifmedia_upd, bge_ifmedia_sts)) { if (trys++ < 4) { |
