diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-12-01 10:53:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 03:35:55 -0500 |
commit | 07f025e6bad7292af3904b8f49cd33e7b5fe3467 (patch) | |
tree | 60623a7d0aa0e4b8d34b5810e822499bbb73445d | |
parent | 9b71b419a60d200f553658a97c9f49a46f58e8bb (diff) |
e1000e: PHY type cleanups in e1000e_check_downshift()
Remove the case for 82577 because it does not support the ability to check
for downshift. Add case for e1000_phy_bm which can do this.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/e1000e/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/phy.c b/drivers/net/e1000e/phy.c index 3e5940afe36d..0c69649af069 100644 --- a/drivers/net/e1000e/phy.c +++ b/drivers/net/e1000e/phy.c | |||
@@ -1525,8 +1525,8 @@ s32 e1000e_check_downshift(struct e1000_hw *hw) | |||
1525 | switch (phy->type) { | 1525 | switch (phy->type) { |
1526 | case e1000_phy_m88: | 1526 | case e1000_phy_m88: |
1527 | case e1000_phy_gg82563: | 1527 | case e1000_phy_gg82563: |
1528 | case e1000_phy_bm: | ||
1528 | case e1000_phy_82578: | 1529 | case e1000_phy_82578: |
1529 | case e1000_phy_82577: | ||
1530 | offset = M88E1000_PHY_SPEC_STATUS; | 1530 | offset = M88E1000_PHY_SPEC_STATUS; |
1531 | mask = M88E1000_PSSR_DOWNSHIFT; | 1531 | mask = M88E1000_PSSR_DOWNSHIFT; |
1532 | break; | 1532 | break; |