Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159299
b: refs/heads/master
c: fbc663c
h: refs/heads/master
i:
  159297: 14f2740
  159295: 3a34d69
v: v3
  • Loading branch information
Dean Nelson authored and David S. Miller committed Aug 2, 2009
1 parent 52f006b commit 58971d7
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: d6a1f83b63e6999ee9374330ea2d7924e775aff7
refs/heads/master: fbc663ceeb7a48481a3b0290040528fbfd207282
5 changes: 5 additions & 0 deletions trunk/drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4076,6 +4076,11 @@ static pci_ers_result_t qlge_io_error_detected(struct pci_dev *pdev,
struct net_device *ndev = pci_get_drvdata(pdev);
struct ql_adapter *qdev = netdev_priv(ndev);

netif_device_detach(ndev);

if (state == pci_channel_io_perm_failure)
return PCI_ERS_RESULT_DISCONNECT;

if (netif_running(ndev))
ql_adapter_down(qdev);

Expand Down

0 comments on commit 58971d7

Please sign in to comment.