[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58027540.6080604@codeaurora.org>
Date: Sat, 15 Oct 2016 13:28:16 -0500
From: Timur Tabi <timur@...eaurora.org>
To: Andrew Lunn <andrew@...n.ch>, zefir.kurtisi@...atec.com
Cc: Florian Fainelli <f.fainelli@...il.com>, netdev@...r.kernel.org
Subject: Re: Need help with mdiobus_register and phy
Andrew Lunn wrote:
> 1) Take the SerDes power down out of the suspend code for the at803x.
>
> 2) Assume MII_PHYID1/2 registers are not guaranteed to be available
> when the PHY is powered down. So get_phy_id should first read
> MII_BMCR. If it gets 0xffff, assume there is no PHY there. If the
> PDOWN bit is set, power up the PHY. Then reading the ID registers.
Before we take approach #1, I'd like to hear from the developer of that
patch, Zefir. According to him, that patch is necessary to fix a bug.
I don't know if that bug exists only on his system, though.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
Powered by blists - more mailing lists