From owner-freebsd-net@FreeBSD.ORG Mon May 12 12:02:37 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 A2A6B1065676 for ; Mon, 12 May 2008 12:02:37 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7A77D8FC23 for ; Mon, 12 May 2008 12:02:37 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 6DA54108552; Mon, 12 May 2008 07:45:52 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 12 May 2008 07:45:52 -0400 X-Sasl-enc: Q9NeweJ9BKkJa2W3U7xQdyt7tQDmv2JLuujihtMyyxus 1210592751 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 1B29720D87; Mon, 12 May 2008 07:45:51 -0400 (EDT) Message-ID: <48282DEE.9090502@FreeBSD.org> Date: Mon, 12 May 2008 12:45:50 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.14 (X11/20080511) MIME-Version: 1.0 To: net@freebsd.org References: <48281D8F.2090501@vwsoft.com> <20080512111958.GA95632@alchemy.franken.de> In-Reply-To: <20080512111958.GA95632@alchemy.franken.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Volker , Marius Strobl 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:02:37 -0000 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. cheers BMS