e1000e: PHY type cleanups in e1000e_check_downshift()
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 1 Dec 2009 15:53:48 +0000 (15:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2009 08:35:55 +0000 (00:35 -0800)
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>
drivers/net/e1000e/phy.c

index 3e5940afe36d0362fe1a84ccf87ddca7f3c80e02..0c69649af06930d97f737031de5ccf389aa69e01 100644 (file)
@@ -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;