From owner-cvs-all@FreeBSD.ORG Sun Feb 11 15:09:50 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0F3916A401; Sun, 11 Feb 2007 15:09:50 +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 91CD013C4A6; Sun, 11 Feb 2007 15:09:50 +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 l1BF9oAn094302; Sun, 11 Feb 2007 15:09:50 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1BF9oS8094301; Sun, 11 Feb 2007 15:09:50 GMT (envelope-from marius) Message-Id: <200702111509.l1BF9oS8094301@repoman.freebsd.org> From: Marius Strobl Date: Sun, 11 Feb 2007 15:09:50 +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 mii_physubr.c miivar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 15:09:50 -0000 marius 2007-02-11 15:09:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii mii_physubr.c miivar.h Log: MFC: mii_physubr.c 1.26, miivar.h 1.19 - Add a MIIF_FORCEANEG flag which forces an auto-negotiation to always take place if IFM_AUTO is selected. This allows drivers like nsphy(4), which need to force writing the ANAR according to the BMSR, to take advantage of mii_phy_setmedia(). [1] - In mii_phy_reset() once the current media is set don't isolate the PHY corresponding to the instance of the currently selected media rather than unconditionally not isolating the PHY corresponding to instance 0. This saves a isolation-unisolation-cycle of the PHY corresponding to the currently selected media for the case were it isn't instance 0. - Fix some whitespace nits. [1] Obtained from: NetBSD [1] Revision Changes Path 1.22.2.3 +9 -4 src/sys/dev/mii/mii_physubr.c 1.15.14.2 +1 -0 src/sys/dev/mii/miivar.h