Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5886
b: refs/heads/master
c: a4cf076
h: refs/heads/master
v: v3
  • Loading branch information
Pierre Ossman authored and Jeff Garzik committed Aug 18, 2005
1 parent cc0f76f commit d033f54
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 852ea22ab24df4c64c0211c3b6d6358eb0e759f9
refs/heads/master: a4cf0761493495681d72dcc0b34efb86e94a5527
7 changes: 7 additions & 0 deletions trunk/drivers/net/8139cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,7 @@ static int cp_resume (struct pci_dev *pdev)
{
struct net_device *dev;
struct cp_private *cp;
unsigned long flags;

dev = pci_get_drvdata (pdev);
cp = netdev_priv(dev);
Expand All @@ -1910,6 +1911,12 @@ static int cp_resume (struct pci_dev *pdev)

cp_init_hw (cp);
netif_start_queue (dev);

spin_lock_irqsave (&cp->lock, flags);

mii_check_media(&cp->mii_if, netif_msg_link(cp), FALSE);

spin_unlock_irqrestore (&cp->lock, flags);

return 0;
}
Expand Down

0 comments on commit d033f54

Please sign in to comment.