ixgbe_get_phy_type_from_id
enum ixgbe_phy_type ixgbe_get_phy_type_from_id(uint32_t phy_id);
hw->phy.type = ixgbe_get_phy_type_from_id(hw->phy.id);