[PATCH 1/3] net: cpsw: Fix gmii_sel config
Sascha Hauer
s.hauer at pengutronix.de
Thu Dec 12 03:09:54 EST 2013
On Tue, Dec 10, 2013 at 03:30:07PM +0100, y at numalfix.phytec.de wrote:
> From: Jan Weitzel <j.weitzel at phytec.de>
>
> Prober slave_num is needed by cpsw_gmii_sel_am335x to calc reg value.
>
> Signed-off-by: Jan Weitzel <j.weitzel at phytec.de>
Applied, thanks
Sascha
> ---
> drivers/net/cpsw.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
> index 5e68e1b..52adf50 100644
> --- a/drivers/net/cpsw.c
> +++ b/drivers/net/cpsw.c
> @@ -1074,6 +1074,7 @@ static int cpsw_probe_dt(struct cpsw_priv *priv)
>
> slave->phy_id = phy_id[1];
> slave->phy_if = of_get_phy_mode(child);
> + slave->slave_num = i;
>
> i++;
> }
> --
> 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