From: Bruce Allan Date: Tue, 1 Dec 2009 15:53:48 +0000 (+0000) Subject: e1000e: PHY type cleanups in e1000e_check_downshift() X-Git-Tag: firefly_0821_release~9833^2~3968^2~96 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07f025e6bad7292af3904b8f49cd33e7b5fe3467;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- 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) switch (phy->type) { case e1000_phy_m88: case e1000_phy_gg82563: + case e1000_phy_bm: case e1000_phy_82578: - case e1000_phy_82577: offset = M88E1000_PHY_SPEC_STATUS; mask = M88E1000_PSSR_DOWNSHIFT; break;