Home
last modified time | relevance | path

Searched hist:"3 a27bfac" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw.c3a27bfac Mon Dec 02 01:23:39 CST 2013 Mugunthan V N <mugunthanvnm@ti.com> drivers: net: cpsw: fix dt probe for one port ethernet

When only one port of the two port is pinned out, then dt probe is failing
because second port phy is not found. fixing this by checking the number of
slaves and breaking the loop.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
3a27bfac Mon Dec 02 01:23:39 CST 2013 Mugunthan V N <mugunthanvnm@ti.com> drivers: net: cpsw: fix dt probe for one port ethernet

When only one port of the two port is pinned out, then dt probe is failing
because second port phy is not found. fixing this by checking the number of
slaves and breaking the loop.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>