]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ixgbe: Correct X550 phy ID
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 4 Nov 2016 20:46:16 +0000 (16:46 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:48:13 +0000 (21:48 -0800)
Orabug: 24568240

We were using an old Alpha version of the X550 phy ID.  This was leading
to unnecessary queries of the PHY.  I removed the old ID (which shouldn't
be on any HW) and add the two that are.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 5f1c3589b0f0feb2c99b985d3a3bbda0dd790626)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h

index 5dadae60fe23ecf71a4b320cfe5ce25f89d772cc..3b8362085f57b15dba5b9ff5e8c61bf41bec3713 100644 (file)
@@ -389,7 +389,8 @@ static enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id)
        case TN1010_PHY_ID:
                phy_type = ixgbe_phy_tn;
                break;
-       case X550_PHY_ID:
+       case X550_PHY_ID2:
+       case X550_PHY_ID3:
        case X540_PHY_ID:
                phy_type = ixgbe_phy_aq;
                break;
index bce20ea1b3e1347d77c532405afa2e2d49af9632..8269e144b288c7fbec5054f3084390ba419382d9 100644 (file)
@@ -1370,7 +1370,8 @@ struct ixgbe_thermal_sensor_data {
 #define TN1010_PHY_ID    0x00A19410
 #define TNX_FW_REV       0xB
 #define X540_PHY_ID      0x01540200
-#define X550_PHY_ID      0x01540220
+#define X550_PHY_ID2   0x01540223
+#define X550_PHY_ID3   0x01540221
 #define X557_PHY_ID      0x01540240
 #define X557_PHY_ID2   0x01540250
 #define QT2022_PHY_ID    0x0043A400