src/dpdk/drivers/net/ixgbe/base/ixgbe_x550.c
static s32 ixgbe_identify_phy_fw(struct ixgbe_hw *hw)
{
	if (hw->bus.lan_id)
		hw->phy.phy_semaphore_mask = IXGBE_GSSR_PHY1_SM;
	else
		hw->phy.phy_semaphore_mask = IXGBE_GSSR_PHY0_SM;

	hw->phy.type = ixgbe_phy_fw;
	hw->phy.ops.read_reg = NULL;
	hw->phy.ops.write_reg = NULL;
	return ixgbe_get_phy_id_fw(hw);
}
/**
 * ixgbe_identify_phy_fw - Get PHY type based on firmware command
 * @hw: pointer to hardware structure
 *
 * Returns error code
 */
Get PHY type based on firmware command
@hw: pointer to hardware structure

Returns error code
Get PHY type based on firmware command @hw : pointer to hardware structure Returns error code
static s32 ixgbe_identify_phy_fw(struct ixgbe_hw *hw)
{
	if (hw->bus.lan_id)
		hw->phy.phy_semaphore_mask = IXGBE_GSSR_PHY1_SM;
	else
		hw->phy.phy_semaphore_mask = IXGBE_GSSR_PHY0_SM;
	hw->phy.type = ixgbe_phy_fw;
	hw->phy.ops.read_reg = NULL;
	hw->phy.ops.write_reg = NULL;
	return ixgbe_get_phy_id_fw(hw);
}
static s32 ixgbe_identify_phy_fw ( struct ixgbe_hw * hw ) { if ( hw -> bus . lan_id ) hw -> phy . phy_semaphore_mask = IXGBE_GSSR_PHY1_SM ; else hw -> phy . phy_semaphore_mask = IXGBE_GSSR_PHY0_SM ; hw -> phy . type = ixgbe_phy_fw ; hw -> phy . ops . read_reg = NULL ; hw -> phy . ops . write_reg = NULL ; return ixgbe_get_phy_id_fw ( hw ) ; }
ixgbe_identify_phy_fw - Get PHY type based on firmware command
 @hw: pointer to hardware structure
ixgbe_identify_phy_fw - Get PHY type based on firmware command @hw : pointer to hardware structure