From owner-cvs-src-old@FreeBSD.ORG Fri Jan 14 19:30:14 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 AAA351065674 for ; Fri, 14 Jan 2011 19:30:14 +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 981E18FC12 for ; Fri, 14 Jan 2011 19:30:14 +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 p0EJUE0n030676 for ; Fri, 14 Jan 2011 19:30:14 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0EJUE8K030675 for cvs-src-old@freebsd.org; Fri, 14 Jan 2011 19:30:14 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201101141930.p0EJUE8K030675@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Fri, 14 Jan 2011 19:29:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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, 14 Jan 2011 19:30:14 -0000 marius 2011-01-14 19:29:53 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c ciphy.c xmphy.c Log: SVN rev 217413 on 2011-01-14 19:29:53Z by marius - 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. MFC after: 1 week Revision Changes Path 1.101 +1 -1 src/sys/dev/mii/brgphy.c 1.22 +11 -14 src/sys/dev/mii/ciphy.c 1.26 +1 -1 src/sys/dev/mii/xmphy.c