[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240618131208.6971-1-sergey.temerkhanov@intel.com>
Date: Tue, 18 Jun 2024 15:12:04 +0200
From: Sergey Temerkhanov <sergey.temerkhanov@...el.com>
To: intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org,
Sergey Temerkhanov <sergey.temerkhanov@...el.com>
Subject: [RFC PATCH iwl-next v1 0/4] Replace auxbus with ice_adapter in the PTP support code
This series replaces multiple aux buses and devices used in
the PTP support code with struct ice_adapter holding the necessary
shared data
Patches 1,2 add convenience wrappers
Patch 3 does the main refactoring
Patch 4 finalizes the refactoring
Sergey Temerkhanov (4):
ice: Introduce ice_get_phy_model() wrapper
ice: Add ice_get_ctrl_ptp() wrapper to simplify the code
ice: Use ice_adapter for PTP shared data instead of auxdev
ice: Drop auxbus use for PTP to finalize ice_adapter move
drivers/net/ethernet/intel/ice/ice.h | 5 +
drivers/net/ethernet/intel/ice/ice_adapter.c | 6 +
drivers/net/ethernet/intel/ice/ice_adapter.h | 21 +-
drivers/net/ethernet/intel/ice/ice_ptp.c | 338 ++++---------------
drivers/net/ethernet/intel/ice/ice_ptp.h | 24 +-
drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 22 +-
drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 5 +
7 files changed, 111 insertions(+), 310 deletions(-)
--
2.43.0
Powered by blists - more mailing lists