Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266480
b: refs/heads/master
c: 06e92c3
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Oct 10, 2011
1 parent 6734157 commit 653decc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0ec7177e239ed94a398a6c70b38530ff1393cb7
refs/heads/master: 06e92c33999fd66128c2256b0461455633c3d53c
4 changes: 4 additions & 0 deletions trunk/drivers/net/ethernet/rdc/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ static void r6040_down(struct net_device *dev)
iowrite16(adrp[0], ioaddr + MID_0L);
iowrite16(adrp[1], ioaddr + MID_0M);
iowrite16(adrp[2], ioaddr + MID_0H);

phy_stop(lp->phydev);
}

static int r6040_close(struct net_device *dev)
Expand Down Expand Up @@ -727,6 +729,8 @@ static int r6040_up(struct net_device *dev)
/* Initialize all MAC registers */
r6040_init_mac_regs(dev);

phy_start(lp->phydev);

return 0;
}

Expand Down

0 comments on commit 653decc

Please sign in to comment.