Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27216
b: refs/heads/master
c: 88d1136
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Linus Torvalds committed Jun 17, 2006
1 parent cf19f01 commit 886257d
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 991721572ef2140c6411894aebefd3377e71a9e7
refs/heads/master: 88d113601ca19c82feb038438c8c5db502d146f9
7 changes: 6 additions & 1 deletion trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2255,8 +2255,10 @@ static irqreturn_t sky2_intr(int irq, void *dev_id, struct pt_regs *regs)
static void sky2_netpoll(struct net_device *dev)
{
struct sky2_port *sky2 = netdev_priv(dev);
struct net_device *dev0 = sky2->hw->dev[0];

sky2_intr(sky2->hw->pdev->irq, sky2->hw, NULL);
if (netif_running(dev) && __netif_rx_schedule_prep(dev0))
__netif_rx_schedule(dev0);
}
#endif

Expand Down Expand Up @@ -3446,6 +3448,7 @@ static int sky2_suspend(struct pci_dev *pdev, pm_message_t state)

sky2_down(dev);
netif_device_detach(dev);
netif_poll_disable(dev);
}
}

Expand Down Expand Up @@ -3474,6 +3477,8 @@ static int sky2_resume(struct pci_dev *pdev)
struct net_device *dev = hw->dev[i];
if (dev && netif_running(dev)) {
netif_device_attach(dev);
netif_poll_enable(dev);

err = sky2_up(dev);
if (err) {
printk(KERN_ERR PFX "%s: could not up: %d\n",
Expand Down

0 comments on commit 886257d

Please sign in to comment.