From owner-cvs-src-old@FreeBSD.ORG Sun Oct 17 13:07:43 2010 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 6FB0F1065694 for ; Sun, 17 Oct 2010 13:07:43 +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 42B948FC21 for ; Sun, 17 Oct 2010 13:07:43 +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 o9HD7h76073052 for ; Sun, 17 Oct 2010 13:07:43 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9HD7htN073051 for cvs-src-old@freebsd.org; Sun, 17 Oct 2010 13:07:43 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201010171307.o9HD7htN073051@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 17 Oct 2010 13:07:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/mii mlphy.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: Sun, 17 Oct 2010 13:07:43 -0000 marius 2010-10-17 13:07:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii mlphy.c Log: SVN rev 213968 on 2010-10-17 13:07:35Z by marius MFC: r182067 Move the code that looks for the companion phy to a subroutine to make sure we get the error handling right in both places. This also simplifies the code somewhat. Revision Changes Path 1.22.2.3 +22 -23 src/sys/dev/mii/mlphy.c