cvs commit: src/sys/dev/mii acphy.c amphy.c bmtphy.c brgphy.c
ciphy.c inphy.c ip1000phy.c lxtphy.c mii_physubr.c miivar.h
nsgphy.c nsphy.c pnaphy.c qsphy.c rgephy.c rlphy.c tdkphy.c
tlphy.c xmphy.c
Marius Strobl
marius at FreeBSD.org
Sat Dec 2 07:34:14 PST 2006
marius 2006-12-02 15:32:34 UTC
FreeBSD src repository
Modified files:
sys/dev/mii acphy.c amphy.c bmtphy.c brgphy.c ciphy.c
inphy.c ip1000phy.c lxtphy.c
mii_physubr.c miivar.h nsgphy.c nsphy.c
pnaphy.c qsphy.c rgephy.c rlphy.c
tdkphy.c tlphy.c xmphy.c
Log:
Add a helper function mii_phy_dev_probe(), which wraps around the
mii_phy_match() API and takes care of the PHY device probe based on
the struct mii_phydesc array and the match return value provided.
Convert PHY drivers to take advantage of mii_phy_dev_probe(),
converting drivers to provide a mii_phydesc table in the first
place where necessary.
Reviewed by: yongari
MFC after: 2 weeks
Revision Changes Path
1.19 +7 -13 src/sys/dev/mii/acphy.c
1.20 +7 -15 src/sys/dev/mii/amphy.c
1.12 +18 -29 src/sys/dev/mii/bmtphy.c
1.47 +1 -10 src/sys/dev/mii/brgphy.c
1.7 +8 -22 src/sys/dev/mii/ciphy.c
1.16 +10 -32 src/sys/dev/mii/inphy.c
1.2 +2 -12 src/sys/dev/mii/ip1000phy.c
1.18 +6 -10 src/sys/dev/mii/lxtphy.c
1.28 +13 -1 src/sys/dev/mii/mii_physubr.c
1.20 +1 -0 src/sys/dev/mii/miivar.h
1.24 +2 -13 src/sys/dev/mii/nsgphy.c
1.27 +6 -10 src/sys/dev/mii/nsphy.c
1.18 +7 -13 src/sys/dev/mii/pnaphy.c
1.18 +6 -10 src/sys/dev/mii/qsphy.c
1.12 +6 -10 src/sys/dev/mii/rgephy.c
1.25 +15 -14 src/sys/dev/mii/rlphy.c
1.20 +6 -8 src/sys/dev/mii/tdkphy.c
1.21 +6 -10 src/sys/dev/mii/tlphy.c
1.20 +7 -16 src/sys/dev/mii/xmphy.c
More information about the cvs-src
mailing list