Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82692
b: refs/heads/master
c: 136492b
h: refs/heads/master
v: v3
  • Loading branch information
Vitja Makarov authored and David S. Miller committed Feb 3, 2008
1 parent 08da5b3 commit 42c6e08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 6893ff1c7eeac73e2c3267e4270bdb64ec427a31
refs/heads/master: 136492b275e0dd02d842b94507d66267d18d341c
3 changes: 2 additions & 1 deletion trunk/drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,10 +884,10 @@ static int bf537mac_open(struct net_device *dev)
return retval;

phy_start(lp->phydev);
phy_write(lp->phydev, MII_BMCR, BMCR_RESET);
setup_system_regs(dev);
bf537mac_disable();
bf537mac_enable();

pr_debug("hardware init finished\n");
netif_start_queue(dev);
netif_carrier_on(dev);
Expand All @@ -910,6 +910,7 @@ static int bf537mac_close(struct net_device *dev)
netif_carrier_off(dev);

phy_stop(lp->phydev);
phy_write(lp->phydev, MII_BMCR, BMCR_PDOWN);

/* clear everything */
bf537mac_shutdown(dev);
Expand Down

0 comments on commit 42c6e08

Please sign in to comment.