From owner-cvs-all@FreeBSD.ORG Sun Feb 11 15:29:35 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB20E16A400; Sun, 11 Feb 2007 15:29:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9401B13C47E; Sun, 11 Feb 2007 15:29:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1BFTZAm097691; Sun, 11 Feb 2007 15:29:35 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1BFTZUS097690; Sun, 11 Feb 2007 15:29:35 GMT (envelope-from marius) Message-Id: <200702111529.l1BFTZUS097690@repoman.freebsd.org> From: Marius Strobl Date: Sun, 11 Feb 2007 15:29:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/mii bmtphy.c gentbi.c mii_physubr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 15:29:35 -0000 marius 2007-02-11 15:29:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii bmtphy.c gentbi.c mii_physubr.c Log: MFC: bmtphy.c 1.11, gentbi.c 1.2, mii_physubr.c 1.27 Analogous to mii_add_media(), factor out the code for checking whether the BMSR contains any media at all to mii_phy_add_media(). The majority of the drivers currently using mii_phy_add_media() were missing such a check anyway though. Revision Changes Path 1.9.2.2 +1 -5 src/sys/dev/mii/bmtphy.c 1.1.2.2 +1 -5 src/sys/dev/mii/gentbi.c 1.22.2.4 +6 -0 src/sys/dev/mii/mii_physubr.c