Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/mii
Module Name: src
Committed By: dyoung
Date: Sat Dec 29 19:34:56 UTC 2007
Modified Files:
src/sys/dev/mii: dmphy.c exphy.c icsphy.c ikphy.c inphy.c iophy.c
lxtphy.c mii.c mii_physubr.c mvphy.c nsphy.c qsphy.c rlphy.c
sqphy.c tlphy.c tqphy.c ukphy.c urlphy.c
Log Message:
Remove the device_is_active() check from each individual PHY's
service routine. Add a wrapper for PHY_SERVICE(), called phy_service(),
and check device_is_active() there. Make the mii_*() routines call
the PHY service routines thorugh phy_service() instead of PHY_SERVICE().
In mii_phy_resume(), restore a PHY's state after resetting it by
sending a MII_MEDIACHG command. This change makes bnx(4) resume
more reliably and more quickly; it should help other NICs to resume,
too, if they attach PHYs through MII.
To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 src/sys/dev/mii/dmphy.c
cvs rdiff -r1.45 -r1.46 src/sys/dev/mii/exphy.c
cvs rdiff -r1.42 -r1.43 src/sys/dev/mii/icsphy.c src/sys/dev/mii/lxtphy.c \
src/sys/dev/mii/mii.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/mii/ikphy.c src/sys/dev/mii/mvphy.c
cvs rdiff -r1.44 -r1.45 src/sys/dev/mii/inphy.c
cvs rdiff -r1.29 -r1.30 src/sys/dev/mii/iophy.c
cvs rdiff -r1.54 -r1.55 src/sys/dev/mii/mii_physubr.c
cvs rdiff -r1.50 -r1.51 src/sys/dev/mii/nsphy.c
cvs rdiff -r1.41 -r1.42 src/sys/dev/mii/qsphy.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/mii/rlphy.c
cvs rdiff -r1.43 -r1.44 src/sys/dev/mii/sqphy.c
cvs rdiff -r1.52 -r1.53 src/sys/dev/mii/tlphy.c
cvs rdiff -r1.32 -r1.33 src/sys/dev/mii/tqphy.c
cvs rdiff -r1.31 -r1.32 src/sys/dev/mii/ukphy.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/mii/urlphy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index