From owner-cvs-src-old@FreeBSD.ORG Sun Nov 7 17:48:28 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EC06106566C for ; Sun, 7 Nov 2010 17:48:28 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 019F68FC12 for ; Sun, 7 Nov 2010 17:48:28 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oA7HmRhF089456 for ; Sun, 7 Nov 2010 17:48:27 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA7HmRIF089455 for cvs-src-old@freebsd.org; Sun, 7 Nov 2010 17:48:27 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201011071748.oA7HmRIF089455@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 7 Nov 2010 17:48:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/mii mlphy.c tlphy.c src/sys/dev/tl if_tl.c if_tlreg.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2010 17:48:28 -0000 marius 2010-11-07 17:48:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/mii mlphy.c tlphy.c sys/dev/tl if_tl.c if_tlreg.h Log: SVN rev 214929 on 2010-11-07 17:48:07Z 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.25.2.5 +19 -22 src/sys/dev/mii/mlphy.c 1.24.2.6 +33 -28 src/sys/dev/mii/tlphy.c 1.3.2.3 +18 -6 src/sys/dev/tl/if_tl.c 1.1.2.2 +0 -1 src/sys/dev/tl/if_tlreg.h