From: Wei Dai Date: Wed, 21 Dec 2016 09:48:06 +0000 (+0800) Subject: net/ixgbe/base: remove unused PHY ID X-Git-Tag: spdx-start~4939 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=88814faa87b504f7f75bcf6475b5695d9880d91a;p=dpdk.git net/ixgbe/base: remove unused PHY ID The first PHY ID for X550 was only used on original HW and never released. So remove these unused PHY ID. Signed-off-by: Wei Dai --- diff --git a/drivers/net/ixgbe/base/ixgbe_phy.c b/drivers/net/ixgbe/base/ixgbe_phy.c index 209e9d0a5a..5ad4dfed5b 100644 --- a/drivers/net/ixgbe/base/ixgbe_phy.c +++ b/drivers/net/ixgbe/base/ixgbe_phy.c @@ -457,7 +457,6 @@ 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_ID1: case X550_PHY_ID2: case X550_PHY_ID3: case X540_PHY_ID: diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index 9851d84ec3..9ec17a98ff 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -1647,7 +1647,6 @@ struct ixgbe_dmac_config { #define TN1010_PHY_ID 0x00A19410 #define TNX_FW_REV 0xB #define X540_PHY_ID 0x01540200 -#define X550_PHY_ID1 0x01540220 #define X550_PHY_ID2 0x01540223 #define X550_PHY_ID3 0x01540221 #define X557_PHY_ID 0x01540240