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

DENG Qingfang dqfext at gmail.com
Tue Apr 6 17:02:00 BST 2021


On Tue, Apr 6, 2021 at 11:49 PM Andrew Lunn <andrew at lunn.ch> 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



More information about the Linux-mediatek mailing list