Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327719
b: refs/heads/master
c: 3f0a1b5
h: refs/heads/master
i:
  327717: 6891b45
  327715: 6d3b445
  327711: 47b832a
v: v3
  • Loading branch information
david decotigny authored and David S. Miller committed Aug 30, 2012
1 parent 33273b1 commit 509a242
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 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: 1ff39eb66b6ba456995fa19185463d7753cd8798
refs/heads/master: 3f0a1b58ae1fb72dee348564d03f42cca2338ab8
12 changes: 10 additions & 2 deletions trunk/drivers/net/ethernet/nvidia/forcedeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -5905,11 +5905,19 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i
goto out_error;
}

netif_carrier_off(dev);

/* Some NICs freeze when TX pause is enabled while NIC is
* down, and this stays across warm reboots. The sequence
* below should be enough to recover from that state.
*/
nv_update_pause(dev, 0);
nv_start_tx(dev);
nv_stop_tx(dev);

if (id->driver_data & DEV_HAS_VLAN)
nv_vlan_mode(dev, dev->features);

netif_carrier_off(dev);

dev_info(&pci_dev->dev, "ifname %s, PHY OUI 0x%x @ %d, addr %pM\n",
dev->name, np->phy_oui, np->phyaddr, dev->dev_addr);

Expand Down

0 comments on commit 509a242

Please sign in to comment.