ice: PTP: Rename macros used for PHY/QUAD port definitions
authorKarol Kolacinski <karol.kolacinski@intel.com>
Wed, 26 Jul 2023 18:27:44 +0000 (11:27 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 18 Sep 2023 17:39:10 +0000 (10:39 -0700)
commit64fd7de2469dd52a7f1517ce95ae22fcb391a8a1
treef23374f5a9cc203dd013ebe35c480a7da01778b5
parentbe65a1a33bdee3912daac50aa6c5270ec9c37010
ice: PTP: Rename macros used for PHY/QUAD port definitions

The ice_fill_phy_msg_e822 function uses several macros to specify the
correct address when sending a sideband message to the PHY block in
hardware.

The names of these macros are fairly generic and confusing. Future
development is going to extend the driver to support new hardware families
which have different relationships between PHY and QUAD. Rename the macros
for clarity and to indicate that they are E822 specific. This also matches
closer to the hardware specification in the data sheet.

Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
drivers/net/ethernet/intel/ice/ice_type.h