Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289137
b: refs/heads/master
c: b5c19ca
h: refs/heads/master
i:
  289135: 34c4f73
v: v3
  • Loading branch information
David Daney authored and Greg Kroah-Hartman committed Feb 24, 2012
1 parent 0867232 commit af9d95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 47de87a234aac8b2121557f3903bb16bb678af67
refs/heads/master: b5c19ca8014aa5151712274d5e70c3666a8918c1
4 changes: 2 additions & 2 deletions trunk/drivers/staging/octeon/ethernet-mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ int cvm_oct_phy_setup_device(struct net_device *dev)

int phy_addr = cvmx_helper_board_get_mii_address(priv->port);
if (phy_addr != -1) {
char phy_id[20];
char phy_id[MII_BUS_ID_SIZE + 3];

snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, "0", phy_addr);
snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, "mdio-octeon-0", phy_addr);

priv->phydev = phy_connect(dev, phy_id, cvm_oct_adjust_link, 0,
PHY_INTERFACE_MODE_GMII);
Expand Down

0 comments on commit af9d95a

Please sign in to comment.