/* Enable the appropriate interrupts on the ET131x according to our configuration  */
void et131x_enable_interrupts(struct et131x_adapter *adapter)
/* Enable the appropriate interrupts on the ET131x according to our configuration  */
void et131x_enable_interrupts(struct et131x_adapter *adapter)
{
	u32 mask;
	if (adapter->FlowControl == TxOnly || adapter->FlowControl == Both)
		mask = INT_MASK_ENABLE;
	else
		mask = INT_MASK_ENABLE_NO_FLOW;
	adapter->CachedMaskValue = mask;
	writel(mask, &adapter->regs->global.int_mask);
}