> +static int rtl9000a_ack_interrupt(struct phy_device *phydev)
> +{
> + int err;
> +
> + err = phy_read(phydev, RTL8211F_INSR);
> +
> + return (err < 0) ? err : 0;
> +}
> +
> +static int rtl9000a_config_intr(struct phy_device *phydev)
> +{
> + u16 val;
> +
> + if (phydev->interrupts == PHY_INTERRUPT_ENABLED)
> + val = (u16)~RTL9000A_GINMR_LINK_STATUS;
> + else
> + val = ~0;
> +
> + return phy_write_paged(phydev, 0xa42, RTL9000A_GINMR, val);
> +}
You need to rework this for the recent change to interrupt handling.
Andrew