]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mediatek: add more resets for internal ethernet circuit block
authorSean Wang <sean.wang@mediatek.com>
Wed, 14 Sep 2016 15:13:20 +0000 (23:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 06:22:58 +0000 (02:22 -0400)
commit9bc6825dcc460e3f216d56495e01ef20bcbc9715
tree7fb1a20fb8245399e14674b0a53038bc780198d5
parent3f9f0e425e6e488e561a244e8101bb0c35cb8fbe
net: ethernet: mediatek: add more resets for internal ethernet circuit block

struct mtk_eth has already contained struct regmap ethsys pointer
to the address range of the internal circuit reset, so we reuse it
to reset more internal blocks on ethernet hardware such as packet
processing engine (PPE) and frame engine (FE) instead of rstc which
deals with FE only.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h