Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86447
b: refs/heads/master
c: 68707ac
h: refs/heads/master
i:
  86445: 0ddde4c
  86443: b8ac57d
  86439: 7e20e90
  86431: ab75be4
v: v3
  • Loading branch information
Bill Hayes authored and Jeff Garzik committed Feb 24, 2008
1 parent 2be11fb commit 1dbd240
Show file tree
Hide file tree
Showing 2 changed files with 5 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: cf7822983f21617b805712eec46eb31058508d6a
refs/heads/master: 68707acb5b5d4e2b7583cbff0883516afed54d4f
6 changes: 4 additions & 2 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,8 @@ void igb_reset(struct igb_adapter *adapter)
wr32(E1000_VET, ETHERNET_IEEE_VLAN_TYPE);

igb_reset_adaptive(&adapter->hw);
adapter->hw.phy.ops.get_phy_info(&adapter->hw);
if (adapter->hw.phy.ops.get_phy_info)
adapter->hw.phy.ops.get_phy_info(&adapter->hw);
}

/**
Expand Down Expand Up @@ -2052,7 +2053,8 @@ static void igb_set_multi(struct net_device *netdev)
static void igb_update_phy_info(unsigned long data)
{
struct igb_adapter *adapter = (struct igb_adapter *) data;
adapter->hw.phy.ops.get_phy_info(&adapter->hw);
if (adapter->hw.phy.ops.get_phy_info)
adapter->hw.phy.ops.get_phy_info(&adapter->hw);
}

/**
Expand Down

0 comments on commit 1dbd240

Please sign in to comment.