From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Date: Wed, 26 Sep 2012 10:47:33 -0700 Subject: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask In-Reply-To: References: <1345502918-18305-1-git-send-email-troy.kisky@boundarydevices.com> <5032C349.3090507@boundarydevices.com> <50353A24.8030601@boundarydevices.com> <50354D5F.2040308@boundarydevices.com> Message-ID: <50633FB5.2000906@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 9/26/2012 10:26 AM, Joe Hershberger wrote: > Hi Troy, > > On Wed, Aug 22, 2012 at 4:21 PM, Troy Kisky > wrote: >> On 8/22/2012 1:40 PM, Andy Fleming wrote: >>> >>> >>> 1) Modify the driver so that the PHY address is passed in from board >>> initialization code programmatically. As a nod to the effort of doing >>> so for all boards, you can create a default value (ie - as it was), >>> that can be overridden by board code. >>> 2) Modify the search function to look for a valid PHY for a given >>> mask, and return the address of that PHY >>> 3) Add code to the board file which passes in the mask to the search >>> function, and then passes the resulting PHY address to the driver. >>> >>> For a somewhat elaborate example of this, look at drivers/net/tsec.c. >>> tsec_standard_init() and tsec_eth_init(). >>> >>> Andy >>> >> Thanks for providing some direction. I think I know what you are after now. > Are you planning to update this before the release? > > Thanks, > -Joe > Probably not. I'll try to get to it next week, but I don't think it belongs in the coming release. And it might need still another iteration. Thanks Troy