]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dc42ea0d426fc517f5da1e2327f7d87cc3d31d8
treef897a6e714b60dba883537864fc1d68ad0831f19
parent911202d4b57868e48c06d0aff379615d735b741d
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