Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2008 12:45:50 +0100
From:      "Bruce M. Simpson" <bms@FreeBSD.org>
To:        net@freebsd.org
Cc:        Volker <volker@vwsoft.com>, Marius Strobl <marius@alchemy.franken.de>
Subject:   Re: how to identify a PHY?
Message-ID:  <48282DEE.9090502@FreeBSD.org>
In-Reply-To: <20080512111958.GA95632@alchemy.franken.de>
References:  <48281D8F.2090501@vwsoft.com> <20080512111958.GA95632@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48282DEE.9090502>