net: dsa: mv88e6xxx: Add MDIO interrupts for internal PHYs
authorAndrew Lunn <andrew@lunn.ch>
Sat, 17 Mar 2018 19:32:05 +0000 (20:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 20:52:59 +0000 (16:52 -0400)
commit6f88284f3bd77a0e51de22d4956f07557bcc0dbf
treed0669876ce2f0829c5f48dca950625ffe3d90fd3
parentbc3931557d1d55584100b1ffefc248137b5cb7e1
net: dsa: mv88e6xxx: Add MDIO interrupts for internal PHYs

When registering an MDIO bus, it is possible to pass an array of
interrupts, one per address on the bus. phylib will then associate the
interrupt to the PHY device, if no other interrupt is provided.

Some of the global2 interrupts are PHY interrupts. Place them into the
MDIO bus structure.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global2.c
drivers/net/dsa/mv88e6xxx/global2.h