From owner-cvs-src-old@FreeBSD.ORG Fri Jan 21 00:48:21 2011 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 77EE71065789 for ; Fri, 21 Jan 2011 00:48:21 +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 65E868FC12 for ; Fri, 21 Jan 2011 00:48:21 +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 p0L0mLvW066049 for ; Fri, 21 Jan 2011 00:48:21 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0L0mLVt066048 for cvs-src-old@freebsd.org; Fri, 21 Jan 2011 00:48:21 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201101210048.p0L0mLVt066048@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Fri, 21 Jan 2011 00:48:04 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/mii brgphy.c ciphy.c xmphy.c 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: Fri, 21 Jan 2011 00:48:21 -0000 marius 2011-01-21 00:48:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/mii brgphy.c ciphy.c xmphy.c Log: SVN rev 217672 on 2011-01-21 00:48:04Z by marius MFC: r217413 - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Simplify ciphy_service() to only set the manual configuration bits once after we have figured them all out. This also means we no longer unnecessarily update the hardware along the road. Revision Changes Path 1.78.2.18 +1 -1 src/sys/dev/mii/brgphy.c 1.17.2.6 +12 -15 src/sys/dev/mii/ciphy.c 1.21.10.6 +1 -1 src/sys/dev/mii/xmphy.c