net/ngbe: fix external PHY power down
[dpdk.git] / drivers / net / ngbe / base / ngbe_phy_yt.h
index c8763a9..06e8f77 100644 (file)
@@ -7,7 +7,8 @@
 #ifndef _NGBE_PHY_YT_H_
 #define _NGBE_PHY_YT_H_
 
-#define NGBE_PHYID_YT                  0x00000110U
+#define NGBE_PHYID_YT8521              0x00000110U
+#define NGBE_PHYID_YT8531              0x4F51E910U
 
 /* Common EXT */
 #define YT_SMI_PHY                     0xA000
@@ -88,6 +89,8 @@ s32 ngbe_reset_phy_yt(struct ngbe_hw *hw);
 
 s32 ngbe_check_phy_link_yt(struct ngbe_hw *hw,
                u32 *speed, bool *link_up);
+s32 ngbe_set_phy_power_yt(struct ngbe_hw *hw, bool on);
+
 s32 ngbe_setup_phy_link_yt(struct ngbe_hw *hw,
                        u32 speed, bool autoneg_wait_to_complete);
 s32 ngbe_get_phy_advertised_pause_yt(struct ngbe_hw *hw,