linux_dsm_epyc7002/drivers/net/phy/mscc
Antoine Tenart 0ddfee1fee 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: 1bbe0ecc2a ("net: phy: mscc: macsec initialization")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-23 16:31:53 -07:00
..
Makefile
mscc_fc_buffer.h net: phy: mscc: fix header defines and descriptions 2020-03-14 21:06:45 -07:00
mscc_mac.h net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00
mscc_macsec.c net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00
mscc_macsec.h net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00
mscc_main.c net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00
mscc.h net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00