Commit 3768695e authored by Maciej Lipinski's avatar Maciej Lipinski

[HAL] remove unused define/state of rx_setup FSM and add warning

parent c622140d
......@@ -129,8 +129,13 @@ static int _hal_port_rx_setup_state_start(void *vpfg, int eventMsk, int isNewSta
// prevent RX FSM from starting up when the TX path calibration of the port is
// not completed.
if( ps->lpdc.txSetupStates.state != HAL_PORT_TX_SETUP_STATE_DONE)
if( ps->lpdc.txSetupStates.state != HAL_PORT_TX_SETUP_STATE_DONE) {
pr_warning("rx_setup FSM is attempted to be started before the"
"tx_setup FSM has finished (in state %d) - this should"
"never happen, in theory.\n",
ps->lpdc.txSetupStates.state);
return 0;
}
if ( ps->lpdc.isSupported ) {
// LPDC support
......
......@@ -15,7 +15,6 @@
typedef enum {
HAL_PORT_RX_SETUP_STATE_START=0,
HAL_PORT_RX_SETUP_STATE_CALIB_NO_LPDC,
HAL_PORT_RX_SETUP_STATE_RESET_PCS,
HAL_PORT_RX_SETUP_STATE_WAIT_LOCK,
HAL_PORT_RX_SETUP_STATE_VALIDATE,
......
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