Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134674
b: refs/heads/master
c: a5fe361
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek authored and David S. Miller committed Feb 25, 2009
1 parent 592fab4 commit 1215947
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: ea8a8642636b905c79aed104a0755b3fa2e65e8e
refs/heads/master: a5fe36165339c57b341250e8252d833e91317c70
10 changes: 5 additions & 5 deletions trunk/drivers/net/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2388,13 +2388,8 @@ static int mv643xx_eth_open(struct net_device *dev)
}
}

netif_carrier_off(dev);

port_start(mp);

set_rx_coal(mp, 0);
set_tx_coal(mp, 0);

wrlp(mp, INT_MASK_EXT, INT_EXT_LINK_PHY | INT_EXT_TX);
wrlp(mp, INT_MASK, INT_TX_END | INT_RX | INT_EXT);

Expand Down Expand Up @@ -2960,6 +2955,11 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
if (mp->shared->win_protect)
wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect);

netif_carrier_off(dev);

set_rx_coal(mp, 0);
set_tx_coal(mp, 0);

err = register_netdev(dev);
if (err)
goto out;
Expand Down

0 comments on commit 1215947

Please sign in to comment.