src/dpdk/drivers/net/txgbe/base/txgbe_phy.c
s32 txgbe_get_copper_link_capabilities(struct txgbe_hw *hw,
					       u32 *speed,
					       bool *autoneg)
{
	s32 err = 0;

	DEBUGFUNC("txgbe_get_copper_link_capabilities");

	*autoneg = true;
	if (!hw->phy.speeds_supported)
		err = txgbe_get_copper_speeds_supported(hw);

	*speed = hw->phy.speeds_supported;
	return err;
}
/**
 *  txgbe_get_copper_link_capabilities - Determines link capabilities
 *  @hw: pointer to hardware structure
 *  @speed: pointer to link speed
 *  @autoneg: boolean auto-negotiation value
 **/
Determines link capabilities
@hw: pointer to hardware structure
@speed: pointer to link speed
@autoneg: boolean auto-negotiation value
Determines link capabilities @hw : pointer to hardware structure @speed : pointer to link speed @autoneg : boolean auto - negotiation value
s32 txgbe_get_copper_link_capabilities(struct txgbe_hw *hw,
					       u32 *speed,
					       bool *autoneg)
{
	s32 err = 0;
	DEBUGFUNC("txgbe_get_copper_link_capabilities");
	*autoneg = true;
	if (!hw->phy.speeds_supported)
		err = txgbe_get_copper_speeds_supported(hw);
	*speed = hw->phy.speeds_supported;
	return err;
}
s32 txgbe_get_copper_link_capabilities ( struct txgbe_hw * hw , u32 * speed , bool * autoneg ) { s32 err = 0 ; DEBUGFUNC ( " " ) ; * autoneg = true ; if ( ! hw -> phy . speeds_supported ) err = txgbe_get_copper_speeds_supported ( hw ) ; * speed = hw -> phy . speeds_supported ; return err ; }
txgbe_get_copper_link_capabilities - Determines link capabilities
  @hw: pointer to hardware structure
  @speed: pointer to link speed
  @autoneg: boolean auto-negotiation value
txgbe_get_copper_link_capabilities - Determines link capabilities @hw : pointer to hardware structure @speed : pointer to link speed @autoneg : boolean auto - negotiation value