From owner-freebsd-net@FreeBSD.ORG Mon May 12 12:01:24 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F269D1065672 for ; Mon, 12 May 2008 12:01:24 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id ABAF48FC1C for ; Mon, 12 May 2008 12:01:24 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7dfe.q.ppp-pool.de [89.53.125.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id B6A8C12881E; Mon, 12 May 2008 14:01:16 +0200 (CEST) Received: from cesar.sz.vwsoft.com (unknown [192.168.18.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 990963F4C2; Mon, 12 May 2008 14:03:55 +0200 (CEST) Message-ID: <4828317C.4000807@vwsoft.com> Date: Mon, 12 May 2008 14:01:00 +0200 From: Volker User-Agent: Thunderbird 2.0.0.14 (X11/20080503) MIME-Version: 1.0 To: "Bruce M. Simpson" References: <48281D8F.2090501@vwsoft.com> <20080512111958.GA95632@alchemy.franken.de> <48282DEE.9090502@FreeBSD.org> In-Reply-To: <48282DEE.9090502@FreeBSD.org> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1211198644.40328@/cPOx5xspM4iapngq1MdzA X-MailScanner-ID: 990963F4C2.6799C X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: Marius Strobl , net@freebsd.org Subject: Re: how to identify a PHY? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 12:01:25 -0000 On 05/12/08 13:45, Bruce M. Simpson wrote: > Marius Strobl wrote: >> If the system is running the simplest thing in order to identifiy >> the PHYs is to check the oui= and model= output of `devinfo -v`. >> Otherwise boot verbose and check the OUI and model output of ukphy(4). >> > > There's a project for someone in there I'm sure. > > Linux has mii-tool and mii-diag. Whilst we generally don't need all of > the knobs, sometimes it can be useful to dump and poke PHY registers on > the MII. src/sys/dev/mii/miibus_if.m contains the newbus interface > definition for miibus which would be a place to start. Bruce, am I correct assuming there's currently no easy way to get that information? Thanks Volker