From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web308.biz.mail.mud.yahoo.com (web308.biz.mail.mud.yahoo.com [68.142.199.184]) by ozlabs.org (Postfix) with SMTP id 346B8DDE23 for ; Thu, 11 Jan 2007 01:29:22 +1100 (EST) Date: Wed, 10 Jan 2007 06:22:40 -0800 (PST) From: Ben Warren Subject: Re: Using fixed_phy with gianfar To: Vitaly Bordug In-Reply-To: <20070110161145.3d8b0c77@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <880857.53326.qm@web308.biz.mail.mud.yahoo.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Thanks Vitaly! --- Vitaly Bordug wrote: > No, you do not miss - this is an issue. In fact MDIO > bus was changed for numeric for gianfar-stuff, and > has been remaining string for fs_enet. I think it > makes sense to average this up, and will try to do > that once will get 8349-mitx which is gianfar+ fixed > user. > > The point is that fixed should be updated to numeric > MDIO address encoding. This has to come through > netdev, so I'll try to get it fixed by the next > merge window. > > -- > Sincerely, Vitaly > Ideally (for me anyway), we'd be able to pass some fixed phy information via the device tree, for example speed and duplexity. This way a board could, for example, connect to one switch via RvMII @100FD and another via GMII @1000FD. Having parameters as numeric limits this capability, but presumably a simple encoding scheme could be make it work. I'm sure you've already thought of this, though... cheers, Ben