/* Enable port-specific (i.e., MAC and PHY) interrupts for the given adapter port.  */
void t3_port_intr_enable(struct adapter *adapter, int idx)
/* Enable port-specific (i.e., MAC and PHY) interrupts for the given adapter port.  */
void t3_port_intr_enable(struct adapter *adapter, int idx)
{
	struct cphy *phy = &adap2pinfo(adapter, idx)->phy;
	t3_write_reg(adapter, XGM_REG(A_XGM_INT_ENABLE, idx), XGM_INTR_MASK);
	t3_read_reg(adapter, XGM_REG(A_XGM_INT_ENABLE, idx));
	phy->ops->intr_enable(phy);
}