• Maciej Lipinski's avatar
    [HAL] remove HAL_PORT_RX_SETUP_STATE_CALIB_NO_LPDC from hal_port_fsm_rx and move… · e4c4a679
    Maciej Lipinski authored
    [HAL] remove HAL_PORT_RX_SETUP_STATE_CALIB_NO_LPDC from hal_port_fsm_rx and move bitslide measurement
    
    Rational: when LPDC is done, we need to wait for link_up (the
    early_link_up is already set). There can be potentially time
    when we are in the HAL_PORT_RX_SETUP_STATE_DONE done state and
    the early_link_up=1 while link_up=0. This forces a bit different
    behavior for the LPDC and non-LPDC behavior. The new approarch:
    - if no LPDC, go directly to HAL_PORT_RX_SETUP_STATE_DONE and
      wait there for link_up
    - if LPDC, do the all the necessary stuff and then wait for
      link_up in HAL_PORT_RX_SETUP_STATE_DONE
    The bitslide measurement could be done only for non-LPDC, yet
    there is no harm in reading the bitslide register in all cases,
    it is hardcoded to zero when LPDC is supported. Doing it
    outside the hal_port_fsm_rx is more similar to what was in the
    original HAL, furthermore, bitslide measurement was there before
    LPDC, so it can be considered somehow independent
    e4c4a679
Name
Last commit
Last update
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
hwinfo-sdb Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Kconfig_port_timing.in Loading commit data...
Kconfig_sfp_fiber.in Loading commit data...
Kconfig_vlans.in Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...
gen_kconfig_port_timing.sh Loading commit data...
gen_kconfig_sfp_fiber.sh Loading commit data...