• Jacob Keller's avatar
    ice: move E810T functions to before device agnostic ones · 403e4853
    Jacob Keller authored
    Commit 885fe693 ("ice: Add support for SMA control multiplexer")
    accidentally placed all of the E810T SMA control functions in the middle of
    the device agnostic functions section of ice_ptp_hw.c
    
    This works fine, but makes it harder for readers to follow. The
    ice_ptp_hw.c file is laid out such that each hardware family has the
    specific functions in one block, with the access functions placed at the
    end of the file.
    
    Move the E810T functions so that they are in a block just after the E810
    functions. Also move the ice_get_phy_tx_tstamp_ready_e810 which got added
    at the end of the E810T block.
    
    This keeps the functions laid out in a logical order and avoids intermixing
    the generic access functions with the device specific implementations.
    Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
    Reviewed-by: default avatarPrzemek Kitszel <przemyslaw.kitszel@intel.com>
    Tested-by: Arpana Arland <arpanax.arland@intel.com> (A Contingent worker at Intel)
    Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
    Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
    403e4853
ice_ptp_hw.c 89.5 KB