Date: Tue, 28 Nov 2006 00:45:48 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Subject: cvs commit: src/sys/dev/mii lxtphy.c Message-ID: <200611280045.kAS0jmDa014126@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2006-11-28 00:45:48 UTC
FreeBSD src repository
Modified files:
sys/dev/mii lxtphy.c
Log:
- Don't set MIIF_NOISOLATE so lxtphy(4) can be used in configurations
with multiple PHYs. There doesn't seem to be a problem with isolating
LXT970 per se nor in combination with the NICs they're used with and
lxtphy(4) was already adding IFM_NONE anyway.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
be eventually retired.
- Take advantage of mii_phy_setmedia().
- Fix some whitespace nits.
Obtained from: NetBSD
MFC after: 2 weeks
Revision Changes Path
1.17 +8 -35 src/sys/dev/mii/lxtphy.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611280045.kAS0jmDa014126>
