Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107961
b: refs/heads/master
c: c743a87
h: refs/heads/master
i:
  107959: 7bb4a91
v: v3
  • Loading branch information
Alexander Duyck authored and Jeff Garzik committed Aug 7, 2008
1 parent 4fd33c9 commit 4ad0d59
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 106ef2fef3778f4af2e0f796a108cc19c6114264
refs/heads/master: c743a87eabc50110ba5e473e707079c9b429779a
3 changes: 2 additions & 1 deletion trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,8 @@ static void __devexit igb_remove(struct pci_dev *pdev)

unregister_netdev(netdev);

if (!igb_check_reset_block(&adapter->hw))
if (adapter->hw.phy.ops.reset_phy &&
!igb_check_reset_block(&adapter->hw))
adapter->hw.phy.ops.reset_phy(&adapter->hw);

igb_remove_device(&adapter->hw);
Expand Down

0 comments on commit 4ad0d59

Please sign in to comment.