/* igb_setup_tctl - configure the transmit control registers @adapter: Board private structure  */
void igb_setup_tctl(struct igb_adapter *adapter)
/* igb_setup_tctl - configure the transmit control registers @adapter: Board private structure  */
void igb_setup_tctl(struct igb_adapter *adapter)
{
	struct e1000_hw *hw = &adapter->hw;
	u32 tctl;
	wr32(E1000_TXDCTL(0), 0);
	tctl = rd32(E1000_TCTL);
	tctl &= ~E1000_TCTL_CT;
	tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC |
		(E1000_COLLISION_THRESHOLD << E1000_CT_SHIFT);
	igb_config_collision_dist(hw);
	tctl |= E1000_TCTL_EN;
	wr32(E1000_TCTL, tctl);
}