Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
@@ -1844,7 +1844,8 @@ static void sky2_tx_complete(struct sky2_port *sky2, u16 done)
|
||||
sky2->tx_cons = idx;
|
||||
smp_mb();
|
||||
|
||||
if (tx_avail(sky2) > MAX_SKB_TX_LE + 4)
|
||||
/* Wake unless it's detached, and called e.g. from sky2_down() */
|
||||
if (tx_avail(sky2) > MAX_SKB_TX_LE + 4 && netif_device_present(dev))
|
||||
netif_wake_queue(dev);
|
||||
}
|
||||
|
||||
@@ -4688,6 +4689,7 @@ static int __devinit sky2_probe(struct pci_dev *pdev,
|
||||
INIT_WORK(&hw->restart_work, sky2_restart);
|
||||
|
||||
pci_set_drvdata(pdev, hw);
|
||||
pdev->d3_delay = 150;
|
||||
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user