Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351543
b: refs/heads/master
c: f490be0
h: refs/heads/master
i:
  351541: 7d44762
  351539: f3c9d84
  351535: ae187a7
v: v3
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Jan 21, 2013
1 parent 13457c2 commit d85fb99
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: 441d9d327f1e770f5aa76fd91735851ac6e1e236
refs/heads/master: f490be049ba0a3b194bed3a0dfbdcab1ef0ae063
4 changes: 2 additions & 2 deletions trunk/net/dsa/slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ void dsa_slave_mii_bus_init(struct dsa_switch *ds)
ds->slave_mii_bus->name = "dsa slave smi";
ds->slave_mii_bus->read = dsa_slave_phy_read;
ds->slave_mii_bus->write = dsa_slave_phy_write;
snprintf(ds->slave_mii_bus->id, MII_BUS_ID_SIZE, "%s:%.2x",
ds->master_mii_bus->id, ds->pd->sw_addr);
snprintf(ds->slave_mii_bus->id, MII_BUS_ID_SIZE, "dsa-%d:%.2x",
ds->index, ds->pd->sw_addr);
ds->slave_mii_bus->parent = &ds->master_mii_bus->dev;
}

Expand Down

0 comments on commit d85fb99

Please sign in to comment.