[U-Boot] [PATCH 1/2] PHY: micrel: helper function for KSZ9031

Otavio Salvador otavio at ossystems.com.br
Thu Jun 20 14:31:20 CEST 2013


On Thu, Jun 20, 2013 at 8:26 AM, SARTRE Leo <lsartre at adeneo-embedded.com> wrote:
> micrel.c: Add function ksz9031_phy_extended_write, helper to MDD
>                   register write
> micrel.h: Prototype and define MDD registers
>
> Signed-off-by: Leo Sartre <lsartre at adeneo-embedded.com>
> ---
>  drivers/net/phy/micrel.c |   29 +++++++++++++++++++++++++++--
>  include/micrel.h         |    7 +++++++
>  2 files changed, 34 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
> index 2a8b6cb..5b5c11b 100644
> --- a/drivers/net/phy/micrel.c
> +++ b/drivers/net/phy/micrel.c
> @@ -85,7 +85,7 @@ static int ksz90xx_startup(struct phy_device *phydev)
>  }
>  #ifdef CONFIG_PHY_MICREL_KSZ9021
>
> -/*
> +/**
>   * KSZ9021
>   */

Please drop this change; not need.

> @@ -148,9 +148,34 @@ static struct phy_driver ksz9021_driver = {
>  };
>  #endif
>
> -/*
> +/**
>   * KSZ9031
>   */

Please drop this change; not need.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list