9
0
Fork 0

net: cpsw: Fix gmii_sel config

Prober slave_num is needed by cpsw_gmii_sel_am335x to calc reg value.

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jan Weitzel 2013-12-10 15:30:07 +01:00 committed by Sascha Hauer
parent 72930d623c
commit 09783b9c45
1 changed files with 1 additions and 0 deletions

View File

@ -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++;
}