From: David S. Miller Date: Tue, 21 Jul 2020 00:01:45 +0000 (-0700) Subject: Merge branch 'net-macb-Wake-on-Lan-magic-packet-GEM-and-MACB-handling' X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=87c831ce8e51cad98300fe98f59e26e404720217;p=uclinux-h8%2Flinux.git Merge branch 'net-macb-Wake-on-Lan-magic-packet-GEM-and-MACB-handling' Nicolas Ferre says: ==================== net: macb: Wake-on-Lan magic packet GEM and MACB handling Here is the second part of support for WoL magic-packet on the current macb driver. This one is addressing the bulk of the feature and is based on current net-next/master. MACB and GEM code must co-exist and as they don't share exactly the same register layout, I had to specialize a bit the suspend/resume paths and plug a specific IRQ handler in order to avoid overloading the "normal" IRQ hot path. These changes were tested on both sam9x60 which embeds a MACB+FIFO controller and sama5d2 which has a GEM+packet buffer type of controller. Best regards, Nicolas Changes in v7: - Release the spinlock before exiting macb_suspend/resume in case of error changing IRQ handler Changes in v6: - rebase on net-next/master now that the "fixes" patches of the series are merged in both net and net-next. - GEM addition and MACB update to finish the support of WoL magic-packet on the two revisions of the controller. ==================== Signed-off-by: David S. Miller --- 87c831ce8e51cad98300fe98f59e26e404720217