Two deadly typos break RX and TX traffic on the VSC8502 PHY using RGMII
if phy-mode = "rgmii-id" or "rgmii-txid", and no "tx-internal-delay-ps"
override exists. The negative error code from phy_get_internal_delay()
does not get overridden with the delay deduced from the phy-mode, and
later gets committed to hardware. Also, the rx_delay gets overridden by
what should have been the tx_delay.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
mscc.h | ||
mscc_fc_buffer.h | ||
mscc_mac.h | ||
mscc_macsec.c | ||
mscc_macsec.h | ||
mscc_main.c | ||
mscc_ptp.c | ||
mscc_ptp.h | ||
mscc_serdes.c | ||
mscc_serdes.h |