summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/Makefile
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2016-09-14 23:13:19 +0800
committerDavid S. Miller <davem@davemloft.net>2016-09-16 02:22:57 -0400
commit9ea4d311509fc11128a464d86745beeafd575051 (patch)
treee5b2efb26bb04b923bcbc373e5103c5225d6768a /drivers/uwb/Makefile
parent26a2ad8a5418525d21f06083e65b10c932633209 (diff)
downloadlinux-9ea4d311509fc11128a464d86745beeafd575051.tar.bz2
net: ethernet: mediatek: add the whole ethernet reset into the reset process
1) original driver only resets DMA used by descriptor rings which can't guarantee it can recover all various kinds of fatal errors, so the patch tries to reset the underlying hardware resource from scratch on Mediatek SoC required for ethernet running, including power, pin mux control, clock and internal circuits on the ethernet in order to restore into the initial state which the rebooted machine gives. 2) add state variable inside structure mtk_eth to help distinguish mtk_hw_init is called between the initialization during boot time or re-initialization during the reset process. 3) add ge_mode variable inside structure mtk_mac for restoring the interface mode of the current setup for the target MAC. 4) remove __init attribute from mtk_hw_init definition Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/uwb/Makefile')
0 files changed, 0 insertions, 0 deletions