Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07f025e6 authored by Bruce Allan's avatar Bruce Allan Committed by David S. Miller
Browse files

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: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9b71b419
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;