diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2020-05-22 17:55:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-23 16:31:53 -0700 |
commit | 0ddfee1feece1c85592d49b759286032ef2dd803 (patch) | |
tree | 6792d99bf9b7a103202a4eaec791809eef4bd794 /drivers/parisc | |
parent | 31096c3e8b1163c6e966bf4d1f36d8b699008f84 (diff) | |
download | linux-0ddfee1feece1c85592d49b759286032ef2dd803.tar.gz linux-0ddfee1feece1c85592d49b759286032ef2dd803.tar.bz2 linux-0ddfee1feece1c85592d49b759286032ef2dd803.zip |
net: phy: mscc: fix initialization of the MACsec protocol mode
At the very end of the MACsec block initialization in the MSCC PHY
driver, the MACsec "protocol mode" is set. This setting should be set
based on the PHY id within the package, as the bank used to access the
register used depends on this. This was not done correctly, and only the
first bank was used leading to the two upper PHYs being unstable when
using the VSC8584. This patch fixes it.
Fixes: 1bbe0ecc2a1a ("net: phy: mscc: macsec initialization")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions