/* Disable PHY interrupts. The mirror of the above ...  */
static int ael2020_intr_disable(struct cphy *phy)
/* Disable PHY interrupts. The mirror of the above ...  */
static int ael2020_intr_disable(struct cphy *phy)
{
	struct reg_val regs[] = {
		{ MDIO_MMD_PMAPMD, AEL2020_GPIO_CTRL,
			0xffff, 0xb << (AEL2020_GPIO_LSTAT*4) },
		{ MDIO_MMD_PMAPMD, AEL2020_GPIO_CTRL,
			0xffff, 0x1 << (AEL2020_GPIO_MODDET*4) },
		{ 0, 0, 0, 0 }
	};
	int err;
	err = set_phy_regs(phy, regs);
	if (err)
		return err;
	return t3_phy_lasi_intr_disable(phy);
}