]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a357e6aceb8ab461fb6cd9592c23f6ea668a996
tree0b5f0169a4addfde4b7e9868a3fac25c45ec5c4d
parent424d7956241f2124c51fcd57dfc5fe82f389b514
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