From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buildserver.ru.mvista.com (unknown [85.21.88.6]) by ozlabs.org (Postfix) with ESMTP id 4EEC267B90 for ; Fri, 21 Jul 2006 04:02:22 +1000 (EST) Date: Thu, 20 Jul 2006 22:01:36 +0400 From: Vitaly Bordug To: dhlii@comcast.net Subject: Re: PHY Howto ? Message-ID: <20060720220136.29326857@vitb.ru.mvista.com> In-Reply-To: <44BFC2EF.5020305@dlasys.net> References: <44BFC2EF.5020305@dlasys.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 20 Jul 2006 13:52:47 -0400 "David H. Lynch Jr." wrote: > If I am writing a network MAC driver, for hardware that has a phy > that is already supported, if I provide the appropriate mdio_read() and > mdio_write() calls to access the phy registers, and setup my config to > include phylib and drivers for my specific phy, what else do I have to > take care of with respect to the phy within my driver ? > > Are there some resources, howto's, examples, ... demonstrating > how to use phylib ? There is pretty good writeup in Documentation about your concern, find it at Documentation/networking/phy.txt . Live example is obviously drivers/net/gianfar* -- Sincerely, Vitaly