net: qcom/emac: add shutdown function
authorTimur Tabi <timur@codeaurora.org>
Fri, 23 Jun 2017 19:33:28 +0000 (14:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:44:29 +0000 (11:44 -0400)
commit03eb3eb4d4d56414efbe05a5521b2fc4ce175cb7
treef897a6e714b60dba883537864fc1d68ad0831f19
parente3c42b61ff813921ba58cfc0019e3fd63f651190
net: qcom/emac: add shutdown function

The shutdown function halts all DMA and interrupts, so that all
operations are discontinued when the system shuts down, e.g. via
kexec or a forced reboot.

Tested-by: Tyler Baicar <tbaicar@codeaurora.org>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac.c