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

From: DENG Qingfang
Date: Tue Apr 06 2021 - 12:02:08 EST


On Tue, Apr 6, 2021 at 11:49 PM Andrew Lunn <andrew@xxxxxxx> wrote:
> O.K. So that makes it similar to the mv88e6xxx. With that driver, i
> kept interrupt setup and mdio setup separate. I add the interrupt
> controller first, and then do mdio setup, calling a helper to map the
> PHY interrupts and assign them to bus->irq[].
>
> That gives you a cleaner structure when you start using the other
> interrupts.

Okay. Will split the function in v2. Thanks.

>
> Andrew