drivers: net:cpsw: fix probe_dt when only slave 1 is pinned out
authorMugunthan V N <mugunthanvnm@ti.com>
Fri, 24 Oct 2014 13:21:33 +0000 (18:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 19:44:35 +0000 (15:44 -0400)
when slave 0 has no phy and slave 1 connected to phy, driver probe will
fail as there is no phy id present for slave 0 device tree, so continuing
even though no phy-id found, also moving mac-id read later to ensure
mac-id is read from device tree even when phy-id entry in not found.

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

No differences found