net/ngbe: support RSS hash
[dpdk.git] / drivers / net / ngbe / base / ngbe_phy.c
index f0265d8..691171e 100644 (file)
@@ -426,16 +426,19 @@ s32 ngbe_init_phy(struct ngbe_hw *hw)
        /* Set necessary function pointers based on PHY type */
        switch (hw->phy.type) {
        case ngbe_phy_rtl:
+               hw->phy.init_hw = ngbe_init_phy_rtl;
                hw->phy.check_link = ngbe_check_phy_link_rtl;
                hw->phy.setup_link = ngbe_setup_phy_link_rtl;
                break;
        case ngbe_phy_mvl:
        case ngbe_phy_mvl_sfi:
+               hw->phy.init_hw = ngbe_init_phy_mvl;
                hw->phy.check_link = ngbe_check_phy_link_mvl;
                hw->phy.setup_link = ngbe_setup_phy_link_mvl;
                break;
        case ngbe_phy_yt8521s:
        case ngbe_phy_yt8521s_sfi:
+               hw->phy.init_hw = ngbe_init_phy_yt;
                hw->phy.check_link = ngbe_check_phy_link_yt;
                hw->phy.setup_link = ngbe_setup_phy_link_yt;
        default: