public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ar8031/8033/phy:enable autonegotiation for ar8031/8033
Date: Mon, 24 Feb 2014 15:54:42 -0800	[thread overview]
Message-ID: <530BDBC2.9050900@freescale.com> (raw)
In-Reply-To: <1387785093-2885-1-git-send-email-B45475@freescale.com>

On 12/22/2013 11:51 PM, Zhao Qiang wrote:
> Function "genphy_parse_link()" used "if (mii_reg & BMSR_ANEGCAPABLE)" before
> while "if (phydev->supported & SUPPORTED_Autoneg)" now.
> So assign "phydev->supported" to "phydev->drv->features" for ar8031/8033
> to enable autonegotiation.
> 
> Signed-off-by: Zhao Qiang <B45475@freescale.com>
> ---
>  drivers/net/phy/atheros.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
> index b20b4df..1ee2226 100644
> --- a/drivers/net/phy/atheros.c
> +++ b/drivers/net/phy/atheros.c
> @@ -13,6 +13,7 @@ static int ar8021_config(struct phy_device *phydev)
>  	phy_write(phydev, MDIO_DEVAD_NONE, 0x1d, 0x05);
>  	phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x3D47);
>  
> +	phydev->supported = phydev->drv->features;
>  	return 0;
>  }
>  
> 

Joe,

This patch has been floating for a while. If it is OK, I'd like to take it in
with other 85xx patches.

York

  reply	other threads:[~2014-02-24 23:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23  7:51 [U-Boot] [PATCH] ar8031/8033/phy:enable autonegotiation for ar8031/8033 Zhao Qiang
2014-02-24 23:54 ` York Sun [this message]
2014-02-25 18:41   ` Joe Hershberger
2014-02-25 17:30 ` York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=530BDBC2.9050900@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox