/* ixgbe_get_phy_type_from_id - Get the phy type @hw: pointer to hardware structure  */
static enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id)
/* ixgbe_get_phy_type_from_id - Get the phy type @hw: pointer to hardware structure  */
static enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id)
{
	enum ixgbe_phy_type phy_type;
	switch (phy_id) {
	case TN1010_PHY_ID:
		phy_type = ixgbe_phy_tn;
		break;
	case QT2022_PHY_ID:
		phy_type = ixgbe_phy_qt;
		break;
	case ATH_PHY_ID:
		phy_type = ixgbe_phy_nl;
		break;
	default:
		phy_type = ixgbe_phy_unknown;
		break;
	}
	return phy_type;
}