Date: Sun, 7 Nov 2010 17:48:11 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mii mlphy.c tlphy.c src/sys/pci if_tl.c if_tlreg.h Message-ID: <201011071748.oA7HmZMT089490@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-11-07 17:48:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii mlphy.c tlphy.c sys/pci if_tl.c if_tlreg.h Log: SVN rev 214930 on 2010-11-07 17:48:11Z by marius MFC: r214264 - Add IFM_10_2 and IFM_10_5 media via tlphy(4) only in case the respective interface also has such connectors. - In tl_attach() unify three different ways of obtaining the device and vendor IDs and remove the now obsolete tl_dinfo from tl_softc. - Given that tlphy(4) only handles the integrated PHYs of NICs driven by tl(4) make it only probe on the latter. - Switch mlphy(4) and tlphy(4) to use mii_phy_add_media()/mii_phy_setmedia(). - Simplify looking for the respective companion PHY in mlphy(4) and tlphy(4) by ignoring the native one by just comparing the device_t's directly rather than the device name. Revision Changes Path 1.22.2.6 +19 -22 src/sys/dev/mii/mlphy.c 1.22.2.6 +33 -28 src/sys/dev/mii/tlphy.c 1.111.2.3 +18 -6 src/sys/pci/if_tl.c 1.25.2.1 +0 -1 src/sys/pci/if_tlreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011071748.oA7HmZMT089490>