Revert "net: ti cpsw ethernet: allow reading phy interface mode from DT"

This reverts commit d755998270.

It wasn't meant to be applied, commit
342b7b741d ("net: ti cpsw ethernet: set
IFCTL_A bit in MACCONTROL") was redone in such a way to make this
commit unnecessary.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2012-10-01 17:39:31 -04:00
parent 9fbef059d6
commit d4e6264827
2 changed files with 0 additions and 6 deletions

View File

@@ -855,9 +855,6 @@ static int cpsw_probe_dt(struct cpsw_platform_data *data,
}
slave_data->sliver_reg_ofs = prop;
if (!of_property_read_u32(slave_node, "phy_if_mode", &prop))
slave_data->phy_if = prop;
mac_addr = of_get_mac_address(slave_node);
if (mac_addr)
memcpy(slave_data->mac_addr, mac_addr, ETH_ALEN);