From owner-cvs-src@FreeBSD.ORG Sun Feb 25 18:13:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 883F816A404; Sun, 25 Feb 2007 18:13:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7A37613C442; Sun, 25 Feb 2007 18:13:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1PIDEAW007945; Sun, 25 Feb 2007 18:13:14 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1PIDE1b007944; Sun, 25 Feb 2007 18:13:14 GMT (envelope-from marius) Message-Id: <200702251813.l1PIDE1b007944@repoman.freebsd.org> From: Marius Strobl Date: Sun, 25 Feb 2007 18:13:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/mii tdkphy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 18:13:14 -0000 marius 2007-02-25 18:13:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii tdkphy.c Log: MFC: 1.22 - Don't set MIIF_NOISOLATE so tdkphy(4) can be used in configurations with multiple PHYs. There doesn't seem to be a problem with isolating 78Q2120 per se nor in combination with the NICs they're used with and tdkphy(4) was already adding IFM_NONE anyway. - Set MIIF_NOLOOP as loopback doesn't work with this PHY. The MIIF_NOLOOP flag currently triggers nothing but hopefully will be respected by mii_phy_setmedia() later on. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). Thanks to Hans-Joerg Sirtl for lending me test hardware. Obtained from: NetBSD tqphy(4) Revision Changes Path 1.16.2.4 +9 -37 src/sys/dev/mii/tdkphy.c