Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328416
b: refs/heads/master
c: d4e6264
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Oct 1, 2012
1 parent 25cbb0d commit 6d345a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9fbef059d63cbc3249a3ddfd9a12cb511c8be55e
refs/heads/master: d4e62648274857a2b3a5bc62f910c062e71b2d9b
3 changes: 0 additions & 3 deletions trunk/Documentation/devicetree/bindings/net/cpsw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ Required properties:
- slave_reg_ofs : Specifies slave register offset
- sliver_reg_ofs : Specifies slave sliver register offset
- phy_id : Specifies slave phy id
- phy_if_mode : Specified slave phy interface mode (optional)
(one of the PHY_INTERFACE_MODE_* as numerical value)
- mac-address : Specifies slave MAC address

Optional properties:
Expand Down Expand Up @@ -64,7 +62,6 @@ Examples:
slave_reg_ofs = <0x208>;
sliver_reg_ofs = <0xd80>;
phy_id = "davinci_mdio.16:00";
phy_if_mode = <6>; /* PHY_INTERFACE_MODE_RGMII */
/* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ];
};
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/net/ethernet/ti/cpsw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6d345a2

Please sign in to comment.