Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203342
b: refs/heads/master
c: ede3ef0
h: refs/heads/master
v: v3
  • Loading branch information
Nick Nunley authored and David S. Miller committed Jul 2, 2010
1 parent 4129411 commit 96ad0b6
Show file tree
Hide file tree
Showing 3 changed files with 11 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: 7475271004b66e9c22e1bb28f240a38c5d6fe76e
refs/heads/master: ede3ef0d940ef052466f42c849390b23c6859abc
8 changes: 8 additions & 0 deletions trunk/drivers/net/igb/e1000_82575.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ static s32 igb_acquire_phy_82575(struct e1000_hw *hw)

if (hw->bus.func == E1000_FUNC_1)
mask = E1000_SWFW_PHY1_SM;
else if (hw->bus.func == E1000_FUNC_2)
mask = E1000_SWFW_PHY2_SM;
else if (hw->bus.func == E1000_FUNC_3)
mask = E1000_SWFW_PHY3_SM;

return igb_acquire_swfw_sync_82575(hw, mask);
}
Expand All @@ -312,6 +316,10 @@ static void igb_release_phy_82575(struct e1000_hw *hw)

if (hw->bus.func == E1000_FUNC_1)
mask = E1000_SWFW_PHY1_SM;
else if (hw->bus.func == E1000_FUNC_2)
mask = E1000_SWFW_PHY2_SM;
else if (hw->bus.func == E1000_FUNC_3)
mask = E1000_SWFW_PHY3_SM;

igb_release_swfw_sync_82575(hw, mask);
}
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/igb/e1000_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@
#define E1000_SWFW_EEP_SM 0x1
#define E1000_SWFW_PHY0_SM 0x2
#define E1000_SWFW_PHY1_SM 0x4
#define E1000_SWFW_PHY2_SM 0x20
#define E1000_SWFW_PHY3_SM 0x40

/* FACTPS Definitions */
/* Device Control */
Expand Down

0 comments on commit 96ad0b6

Please sign in to comment.