diff options
| author | Karol Kolacinski <[email protected]> | 2024-09-30 12:12:39 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-02-10 18:43:36 +0000 |
| commit | 9973ac9f23a79285d70365c72e98bffdb94a429d (patch) | |
| tree | 4683849133e7fe8bde5d29434fbec92d000119e1 /drivers/net/ethernet/intel/igc/igc_ptp.c | |
| parent | ice: Don't check device type when checking GNSS presence (diff) | |
| download | kernel-9973ac9f23a79285d70365c72e98bffdb94a429d.tar.gz kernel-9973ac9f23a79285d70365c72e98bffdb94a429d.zip | |
ice: Remove unnecessary ice_is_e8xx() functions
Remove unnecessary ice_is_e8xx() functions and PHY model. Instead, use
MAC type where applicable.
Don't check device type in ice_ptp_maybe_trigger_tx_interrupt(), because
in reality it depends on the ready bitmap, which only E810 does not
have.
Call ice_ptp_cfg_phy_interrupt() unconditionally, because all further
function calls check the MAC type anyway and this allows simpler code
in the future with addition of the new MAC types.
Reorder ICE_MAC_* cases in switches in ice_ptp* as in enum ice_mac_type.
Signed-off-by: Karol Kolacinski <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ptp.c')
0 files changed, 0 insertions, 0 deletions
