From: Ian Stokes <ian.sto...@intel.com>

Coppied output IO params returned from get netlist node pin command descriptor
so SW could use it. Fixed defines related to output IO params.

Signed-off-by: Dawid Zielinski dawid.zielin...@intel.com
Signed-off-by: Ian Stokes <ian.sto...@intel.com>
---
 drivers/net/ice/base/ice_adminq_cmd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ice/base/ice_adminq_cmd.h 
b/drivers/net/ice/base/ice_adminq_cmd.h
index 8c62683731..8e8ed66d45 100644
--- a/drivers/net/ice/base/ice_adminq_cmd.h
+++ b/drivers/net/ice/base/ice_adminq_cmd.h
@@ -1768,11 +1768,11 @@ struct ice_aqc_get_link_topo_pin {
        u8 output_io_params;
 #define ICE_AQC_LINK_TOPO_OUTPUT_IO_FUNC_S     0
 #define ICE_AQC_LINK_TOPO_OUTPUT_IO_FUNC_M     \
-                       (0x1F << \ ICE_AQC_LINK_TOPO_INPUT_IO_FUNC_NUM_S)
+                       (0x1F << ICE_AQC_LINK_TOPO_OUTPUT_IO_FUNC_S)
 /* Use ICE_AQC_LINK_TOPO_IO_FUNC_* for the non-numerical options */
 #define ICE_AQC_LINK_TOPO_OUTPUT_IO_TYPE_S     5
 #define ICE_AQC_LINK_TOPO_OUTPUT_IO_TYPE_M     \
-                       (0x7 << ICE_AQC_LINK_TOPO_INPUT_IO_TYPE_S)
+                       (0x7 << ICE_AQC_LINK_TOPO_OUTPUT_IO_TYPE_S)
 /* Use ICE_AQC_LINK_TOPO_NODE_TYPE_* for the type values */
        u8 output_io_flags;
 #define ICE_AQC_LINK_TOPO_OUTPUT_SPEED_S       0
-- 
2.43.0

Reply via email to