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] phy: introduce structure fixed-link
Date: Thu, 21 Nov 2013 10:02:55 -0800	[thread overview]
Message-ID: <528E4ACF.9020207@freescale.com> (raw)
In-Reply-To: <1384426831-8633-1-git-send-email-shh.xie@gmail.com>

On 11/14/2013 03:00 AM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
> 
> fixed-link is used in kernel for PHY-less MAC, so introduce this
> structure that U-boot can use it to fixup dtb dynamically.
> 
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---
>  include/phy.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/include/phy.h b/include/phy.h
> index f0f522a..f86ffb9 100644
> --- a/include/phy.h
> +++ b/include/phy.h
> @@ -160,6 +160,14 @@ struct phy_device {
>  	u32 flags;
>  };
>  
> +struct fixed_link {
> +	int phy_id;
> +	int duplex;
> +	int link_speed;
> +	int pause;
> +	int asym_pause;
> +};
> +

How is this code used? Do you have other patches following?

York

  reply	other threads:[~2013-11-21 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 11:00 [U-Boot] [PATCH] phy: introduce structure fixed-link shh.xie at gmail.com
2013-11-21 18:02 ` York Sun [this message]
2013-11-22  2:25   ` Shaohui Xie
2013-11-25 21:00 ` 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=528E4ACF.9020207@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