Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Random rgephy(4) change (Was: CVS commit: src/sys/dev/mii)



On Wednesday 2009-01-14 19:24 +0000, Christoph Egger output:
:Module Name:   src
:Committed By:  cegger
:Date:          Wed Jan 14 19:24:32 UTC 2009
:
:Modified Files:
:       src/sys/dev/mii: rgephy.c
:
:Log Message:
:pull in changes from FreeBSD:
:
:- reset autonegotation timer if media option is not IFM_AUTO or we got a 
invalid link.
:- Announce link loss right after it happens.
:- Autonegotiation is retried every mii_anegticks seconds.
:- Report link state changes right after setting autonegotiation.
:- use rgephy_reset consistently
:- change rgephy_reset to use mii_phy_reset and rgephy_load_dspcode.

The description of ``change rgephy_reset to use mii_phy_reset and
rgephy_load_dspcode.'' does not explain why the section which is now "#if 0"d
out and does several things differently is supposedly not needed.

:These changes give me a speedup from 6.5MB/s to 9.1MB/s on a 100MBit link.

These changes gave me a slow down when my media decided that it's better
to be "10baseT half-duplex" rather than "1000baseT full-duplex".

:cvs rdiff -r1.24 -r1.25 src/sys/dev/mii/rgephy.c

Regards,
Geoff


Home | Main Index | Thread Index | Old Index