diff options
author | oleg <oleg@FreeBSD.org> | 2006-05-16 12:26:00 +0000 |
---|---|---|
committer | oleg <oleg@FreeBSD.org> | 2006-05-16 12:26:00 +0000 |
commit | 3bcb9abc802e862d68a5f300a41129423b838bcf (patch) | |
tree | 10e92e5997a237c5f62c5edc13a2e194e01d0e24 /sys/dev/hifn | |
parent | ff949f629730395a82ffa07f0787df4dc5af8a16 (diff) | |
download | FreeBSD-src-3bcb9abc802e862d68a5f300a41129423b838bcf.zip FreeBSD-src-3bcb9abc802e862d68a5f300a41129423b838bcf.tar.gz |
1) Fix mii_phy_tick():
Current code does not report link loss correctly - when link goes down,
mii_phy_tick() will notice that with up to mii_anegticks delay.
If link goes up during this delay then link flapping will be unnoticed
by driver.
2) mii_phy_add_media(): initialize sc->mii_anegticks for 10/100 media
3) Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE defines instead of hardcoded values.
Approved by: glebius (mentor)
MFC after: 1 month
Diffstat (limited to 'sys/dev/hifn')
0 files changed, 0 insertions, 0 deletions