cvs commit: src/sys/dev/netif/mii_layer ruephy.c src/sys/dev/netif/rue if_rue.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Nov 5 02:06:39 PST 2005
sephe 2005/11/05 02:01:54 PST
DragonFly src repository
Modified files:
sys/dev/netif/mii_layer ruephy.c
sys/dev/netif/rue if_rue.c
Log:
in mii_layer/ruephy.c
- in ruephy_attach(), nuke unused macro ADD()
- in ruephy_reset(), only turn on BMCR_AUTOEN after mii_phy_reset(), since
BMCR_S100 and BMCR_FDX are ignored if BMCR_AUTOEN is turned on.
in rue/if_rue.c
- in rue_miibus_statchg(), nuke "#if 0"ed code and comment, since
1) when auto-negotiation is not enabled, BMCR_S100 or BMCR_FDX will be turned
on/off before rue_miibus_statchg() is called (in ruephy_service())
2) when auto-negotiation is enabled, BMCR_S100 and BMCR_FDX are ignored
Revision Changes Path
1.4 +1 -5 src/sys/dev/netif/mii_layer/ruephy.c
1.3 +0 -33 src/sys/dev/netif/rue/if_rue.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/ruephy.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/rue/if_rue.c.diff?r1=1.2&r2=1.3&f=u
More information about the Commits
mailing list