mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 08:47:24 +07:00
0ed41b3388
The logic to write to MDIO registers on 40nm platforms was wrong
because it would use the port number as an offset from the base address
rather than the bank address of the PHY. This is hardly noticeable
because the only programming we do is enabling SSC or not, which is not
really causing an observable functional change.
Correct that mistake by passing down the struct brcm_sata_port structure
down to the brcm_sata_mdio_wr() and brcm_sata_mdio_rd() functions and do
the proper offsetting for 28nm, respectively 40nm platforms from there.
This means that brcm_sata_pcb_base() is now useless and is therefore
removed.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-bcm-cygnus-pcie.c | ||
phy-bcm-kona-usb2.c | ||
phy-bcm-ns2-pcie.c | ||
phy-bcm-ns2-usbdrd.c | ||
phy-bcm-ns-usb2.c | ||
phy-bcm-ns-usb3.c | ||
phy-bcm-sr-pcie.c | ||
phy-bcm-sr-usb.c | ||
phy-brcm-sata.c | ||
phy-brcm-usb-init-synopsys.c | ||
phy-brcm-usb-init.c | ||
phy-brcm-usb-init.h | ||
phy-brcm-usb.c |