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