From owner-cvs-src-old@FreeBSD.ORG Fri Jan 21 00:48:27 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 6444F1065679 for ; Fri, 21 Jan 2011 00:48:27 +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 522918FC0C for ; Fri, 21 Jan 2011 00:48:27 +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 p0L0mR1E066073 for ; Fri, 21 Jan 2011 00: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 p0L0mRVF066072 for cvs-src-old@freebsd.org; Fri, 21 Jan 2011 00:48:27 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201101210048.p0L0mRVF066072@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:08 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 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:27 -0000 marius 2011-01-21 00:48:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii brgphy.c ciphy.c xmphy.c Log: SVN rev 217673 on 2011-01-21 00:48:08Z 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.70.2.23 +1 -1 src/sys/dev/mii/brgphy.c 1.9.2.8 +13 -16 src/sys/dev/mii/ciphy.c 1.21.2.5 +1 -1 src/sys/dev/mii/xmphy.c