/* hw - Struct containing variables accessed by shared code Assumes that the controller has previously been reset and is in a post-reset uninitialized state. Initializes multicast table, and Calls routines to setup link Leaves the transmit and receive units disabled and uninitialized.  */
int atl1e_init_hw(struct atl1e_hw *hw)
/* hw - Struct containing variables accessed by shared code Assumes that the controller has previously been reset and is in a post-reset uninitialized state. Initializes multicast table, and Calls routines to setup link Leaves the transmit and receive units disabled and uninitialized.  */
int atl1e_init_hw(struct atl1e_hw *hw)
{
	s32 ret_val = 0;
	atl1e_init_pcie(hw);
	AT_WRITE_REG(hw, REG_RX_HASH_TABLE, 0);
	AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, 1, 0);
	ret_val = atl1e_phy_init(hw);
	return ret_val;
}