Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6107
b: refs/heads/master
c: 1b1b3c9
h: refs/heads/master
i:
  6105: b00646f
  6103: d876063
v: v3
  • Loading branch information
Manfred Spraul authored and Jeff Garzik committed Aug 19, 2005
1 parent 8c4de76 commit 40b56c2
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a3bc068022b968a3042b48eb9a8e8b0418fb9cdd
refs/heads/master: 1b1b3c9b6d346d441a99e2de0b34f3ba93963ad8
5 changes: 5 additions & 0 deletions trunk/drivers/net/forcedeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
* 0.40: 19 Jul 2005: Add support for mac address change.
* 0.41: 30 Jul 2005: Write back original MAC in nv_close instead
* of nv_remove
* 0.42: 06 Aug 2005: Fix lack of link speed initialization
* in the second (and later) nv_open call
*
* Known bugs:
* We suspect that on some hardware no TX done interrupts are generated.
Expand Down Expand Up @@ -2178,6 +2180,9 @@ static int nv_open(struct net_device *dev)
writel(NVREG_MIISTAT_MASK, base + NvRegMIIStatus);
dprintk(KERN_INFO "startup: got 0x%08x.\n", miistat);
}
/* set linkspeed to invalid value, thus force nv_update_linkspeed
* to init hw */
np->linkspeed = 0;
ret = nv_update_linkspeed(dev);
nv_start_rx(dev);
nv_start_tx(dev);
Expand Down

0 comments on commit 40b56c2

Please sign in to comment.