From owner-cvs-all@FreeBSD.ORG Tue Nov 28 05:40:36 2006 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 9F5AC16A501; Tue, 28 Nov 2006 05:40:36 +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 3AEDC45353; Tue, 28 Nov 2006 04:48:05 +0000 (GMT) (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 kAS0jmU0014127; Tue, 28 Nov 2006 00:45:48 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAS0jmDa014126; Tue, 28 Nov 2006 00:45:48 GMT (envelope-from marius) Message-Id: <200611280045.kAS0jmDa014126@repoman.freebsd.org> From: Marius Strobl Date: Tue, 28 Nov 2006 00:45:48 +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 lxtphy.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: Tue, 28 Nov 2006 05:40:36 -0000 marius 2006-11-28 00:45:48 UTC FreeBSD src repository Modified files: sys/dev/mii lxtphy.c Log: - Don't set MIIF_NOISOLATE so lxtphy(4) can be used in configurations with multiple PHYs. There doesn't seem to be a problem with isolating LXT970 per se nor in combination with the NICs they're used with and lxtphy(4) was already adding IFM_NONE anyway. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). - Fix some whitespace nits. Obtained from: NetBSD MFC after: 2 weeks Revision Changes Path 1.17 +8 -35 src/sys/dev/mii/lxtphy.c