[PATCH 1/4] phy/micrel: disable Asym_Pause support

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 16 23:55:12 PDT 2014


On Mon, Sep 15, 2014 at 02:56:28PM +0200, Christian Hemp wrote:
> From: Jan Weitzel <j.weitzel at phytec.de>
> 
> With SUPPORTED_Asym_Pause enabled we need to hotplug the ethernet cable.
> So disable it like done with PHY_ID_KSZ9021.
> 
> Signed-off-by: Jan Weitzel <j.weitzel at phytec.de>
> Signed-off-by: Christian Hemp <c.hemp at phytec.de>

Applied all, thanks

Sascha

> ---
>  drivers/net/phy/micrel.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
> index 8aea653..88c64e5 100644
> --- a/drivers/net/phy/micrel.c
> +++ b/drivers/net/phy/micrel.c
> @@ -254,11 +254,11 @@ static struct phy_driver ksphy_driver[] = {
>  	.config_aneg	= genphy_config_aneg,
>  	.read_status	= genphy_read_status,
>  }, {
> +	/* I saw the same issue like PHY_ID_KSZ9021 for Asym_Pause */
>  	.phy_id		= PHY_ID_KSZ9031,
>  	.phy_id_mask	= 0x00fffff0,
>  	.drv.name	= "Micrel KSZ9031 Gigabit PHY",
> -	.features	= (PHY_GBIT_FEATURES | SUPPORTED_Pause
> -				| SUPPORTED_Asym_Pause),
> +	.features	= (PHY_GBIT_FEATURES | SUPPORTED_Pause),
>  	.config_init	= kszphy_config_init,
>  	.config_aneg	= genphy_config_aneg,
>  	.read_status	= genphy_read_status,
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list