Re: [RFC net-next 2/4] net: dsa: mt7530: add interrupt support

From: DENG Qingfang
Date: Tue Apr 06 2021 - 11:39:28 EST


On Tue, Apr 6, 2021 at 11:30 PM Andrew Lunn <andrew@xxxxxxx> wrote:
>
> On Tue, Apr 06, 2021 at 10:18:17PM +0800, DENG Qingfang wrote:
> > Add support for MT7530 interrupt controller to handle internal PHYs.
>
> Are the interrupts purely PHY interrupts? Or are there some switch
> operation interrupts, which are currently not used?

There are other switch operations interrupts as well, such as VLAN
member violation, switch ACL hit.

>
> I'm just wondering if it is correct to so closely tie interrupts and
> MDIO together.
>
> Andrew