]> 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)
commit6215c6695c8646af9b66d11e7b00fc69b334be36
tree0b5f0169a4addfde4b7e9868a3fac25c45ec5c4d
parent9cee5df2e7e8bda3485fc5e9bc246906572e9ed8
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