Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15769
b: refs/heads/master
c: 350f196
h: refs/heads/master
i:
  15767: 43f8c39
v: v3
  • Loading branch information
Lennert Buytenhek authored and Jeff Garzik committed Dec 1, 2005
1 parent 5542ec8 commit 87b12da
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: c44185d4dcb92384c22e6c01dc09c25adae36a82
refs/heads/master: 350f19632d18e808aa1f2ca96f2be86c67de67ff
5 changes: 5 additions & 0 deletions trunk/drivers/net/ixp2000/enp2611.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,15 @@ static void enp2611_check_link_status(unsigned long __dummy)

status = pm3386_is_link_up(i);
if (status && !netif_carrier_ok(dev)) {
/* @@@ Should report autonegotiation status. */
printk(KERN_INFO "%s: NIC Link is Up\n", dev->name);

pm3386_enable_tx(i);
caleb_enable_tx(i);
netif_carrier_on(dev);
} else if (!status && netif_carrier_ok(dev)) {
printk(KERN_INFO "%s: NIC Link is Down\n", dev->name);

netif_carrier_off(dev);
caleb_disable_tx(i);
pm3386_disable_tx(i);
Expand Down

0 comments on commit 87b12da

Please sign in to comment.