src/dpdk/drivers/net/e1000/base/e1000_i210.c
s32 e1000_init_hw_i210(struct e1000_hw *hw)
{
	s32 ret_val;
	struct e1000_mac_info *mac = &hw->mac;

	DEBUGFUNC("e1000_init_hw_i210");
	if ((hw->mac.type >= e1000_i210) &&
	    !(e1000_get_flash_presence_i210(hw))) {
		ret_val = e1000_pll_workaround_i210(hw);
		if (ret_val != E1000_SUCCESS)
			return ret_val;
	}
	hw->phy.ops.get_cfg_done = e1000_get_cfg_done_i210;

	/* Initialize identification LED */
	ret_val = mac->ops.id_led_init(hw);

	ret_val = e1000_init_hw_base(hw);
	return ret_val;
}
/**
 *  e1000_init_hw_i210 - Init hw for I210/I211
 *  @hw: pointer to the HW structure
 *
 *  Called to initialize hw for i210 hw family.
 **/
Init hw for I210/I211
@hw: pointer to the HW structure

Called to initialize hw for i210 hw family.
Init hw for I210 / I211 @hw : pointer to the HW structure Called to initialize hw for i210 hw family .
s32 e1000_init_hw_i210(struct e1000_hw *hw)
{
	s32 ret_val;
	struct e1000_mac_info *mac = &hw->mac;
	DEBUGFUNC("e1000_init_hw_i210");
	if ((hw->mac.type >= e1000_i210) &&
	    !(e1000_get_flash_presence_i210(hw))) {
		ret_val = e1000_pll_workaround_i210(hw);
		if (ret_val != E1000_SUCCESS)
			return ret_val;
	}
	hw->phy.ops.get_cfg_done = e1000_get_cfg_done_i210;
	ret_val = mac->ops.id_led_init(hw);
	ret_val = e1000_init_hw_base(hw);
	return ret_val;
}
s32 e1000_init_hw_i210 ( struct e1000_hw * hw ) { s32 ret_val ; struct e1000_mac_info * mac = & hw -> mac ; DEBUGFUNC ( " " ) ; if ( ( hw -> mac . type >= e1000_i210 ) && ! ( e1000_get_flash_presence_i210 ( hw ) ) ) { ret_val = e1000_pll_workaround_i210 ( hw ) ; if ( ret_val != E1000_SUCCESS ) return ret_val ; } hw -> phy . ops . get_cfg_done = e1000_get_cfg_done_i210 ; ret_val = mac -> ops . id_led_init ( hw ) ; ret_val = e1000_init_hw_base ( hw ) ; return ret_val ; }
e1000_init_hw_i210 - Init hw for I210/I211
  @hw: pointer to the HW structure
e1000_init_hw_i210 - Init hw for I210 / I211 @hw : pointer to the HW structure
/* Initialize identification LED */