Commit 1a2f82e1 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

LPDC: temporary fix for COMMA_POS_VALID bit following Peter's updates to the Kintex7 LPDC PHY

parent 634e09e5
......@@ -470,7 +470,7 @@ static int rx_fsm_update(void)
int rx_aligned = lpc_stat & LPDC_MDIO_STAT_LINK_ALIGNED;
int rx_comma_pos = (lpc_stat >> 7) & 0x7f;
int rx_comma_valid = (lpc_stat >> 7) & 0x80 ? 1 : 0;
int rx_comma_valid = lpc_stat & 0x8000; // fixme update header from cheby
if ( rx_up && rx_aligned && rx_comma_valid && (rx_comma_pos == DEFAULT_COMMA_POS) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment