net: macb: Add WoL interrupt support for MACB type of Ethernet controller
authorNicolas Ferre <nicolas.ferre@microchip.com>
Mon, 20 Jul 2020 08:56:53 +0000 (10:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 00:01:45 +0000 (17:01 -0700)
commit9d45c8e89079dfe5489efaae9cea12a539ebc3ff
tree0b5f0169a4addfde4b7e9868a3fac25c45ec5c4d
parent558e35ccfe9516c8786c3dd3b8a486fb37e6b858
net: macb: Add WoL interrupt support for MACB type of Ethernet controller

Handle the Wake-on-Lan interrupt for the Cadence MACB Ethernet
controller.
As we do for the GEM version, we handle of WoL interrupt in a
specialized interrupt handler for MACB version that is positionned
just between suspend() and resume() calls.

Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: Harini Katakam <harini.katakam@xilinx.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c