Date: Sun, 11 Feb 2007 15:09:50 +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 mii_physubr.c miivar.h Message-ID: <200702111509.l1BF9oS8094301@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702111509.l1BF9oS8094301>