From owner-cvs-all@FreeBSD.ORG Fri Jan 12 23:17:44 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 4798816A407; Fri, 12 Jan 2007 23:17:44 +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 2192313C44C; Fri, 12 Jan 2007 23:17:44 +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 l0CNHivZ015573; Fri, 12 Jan 2007 23:17:44 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0CNHhpx015572; Fri, 12 Jan 2007 23:17:43 GMT (envelope-from marius) Message-Id: <200701122317.l0CNHhpx015572@repoman.freebsd.org> From: Marius Strobl Date: Fri, 12 Jan 2007 23:17:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii exphy.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: Fri, 12 Jan 2007 23:17:44 -0000 marius 2007-01-12 23:17:43 UTC FreeBSD src repository Modified files: sys/dev/mii exphy.c Log: - Take advantage of mii_phy_dev_probe(). - In exphy_service() for the MII_TICK case don't bother to check whether the currently selected media is of type IFM_AUTO as auto-negotiation doesn't need to be kicked anyway. - Remove #if 0'ed unapplicable code. - Fix some whitespace nits. MFC after: 1 week Revision Changes Path 1.23 +19 -39 src/sys/dev/mii/exphy.c