]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: make reset optional
authorMichael Walle <michael@walle.cc>
Wed, 31 Aug 2022 11:18:55 +0000 (13:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Sep 2022 10:37:27 +0000 (11:37 +0100)
commit42aafc4ea252ca095e606a56a637b4211c8b19b6
tree4d8cb186c5b146ec1d22c85a6bebcbc8c8af53a5
parent94b9ffb6807b0d2768a24ce3d74b61c87291bf83
net: lan966x: make reset optional

There is no dedicated reset for just the switch core. The reset which
is used up until now, is more of a global reset, resetting almost the
whole SoC and cause spurious errors by doing so. Make it possible to
handle the reset elsewhere and make the reset optional.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/lan966x_main.c