diff options
author | oleg <oleg@FreeBSD.org> | 2005-12-08 13:31:52 +0000 |
---|---|---|
committer | oleg <oleg@FreeBSD.org> | 2005-12-08 13:31:52 +0000 |
commit | 0485d4dec3d08cda5036841b16d4c0df01504fc5 (patch) | |
tree | f36a550dd40301364545bb8351ecb5c987c05f99 /sys/dev/mii | |
parent | f2a96cd9c9ca65256572ef81828b013aff9692a4 (diff) | |
download | FreeBSD-src-0485d4dec3d08cda5036841b16d4c0df01504fc5.zip FreeBSD-src-0485d4dec3d08cda5036841b16d4c0df01504fc5.tar.gz |
1) fix tiny bug in bge_start_locked()
2) rework link state detection code & use it in POLLING mode
3) fix 2 bugs in link state detection code:
a) driver unable to detect link loss on bcm5721
b) on bcm570x chips (tested on bcm5700 bcm5701 bcm5702) driver fails
to detect link loss with probability 1/6 (solved in brgphy.c)
Devices working in TBI mode should not be affected by this change.
Approved by: glebius (mentor)
MFC after: 1 month
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/brgphy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 6365cbc..59ff42c 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -373,7 +373,7 @@ setit: sc->mii_ticks = 0; brgphy_mii_phy_auto(sc); - return (0); + break; } /* Update the media status. */ |