net: mvpp2: restructure "link status" interrupt handling
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 9 Sep 2020 16:25:35 +0000 (17:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 21:22:41 +0000 (14:22 -0700)
commit36cfd3a6e52bd65d42b1d04fbff30ac427f80cbd
tree652f1280a86f99069587c8db1260f66e995dee17
parentb599a5b9e16698424bced2429e935bee056dcf88
net: mvpp2: restructure "link status" interrupt handling

The "link status" interrupt is used for more than just link status.
Restructure mvpp2_link_status_isr() so we can add additional handling.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c