qed: Fix command number mismatch between driver and the mfw
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Mon, 10 Dec 2018 07:27:01 +0000 (23:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Dec 2018 05:48:14 +0000 (21:48 -0800)
The value for OEM_CFG_UPDATE command differs between driver and the
Management firmware (mfw). Fix this gap with adding a reserved field.

Fixes: cac6f691546b ("qed: Add support for Unified Fabric Port.")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_hsi.h

index 5c221eb..b38e12c 100644 (file)
@@ -12831,8 +12831,9 @@ enum MFW_DRV_MSG_TYPE {
        MFW_DRV_MSG_BW_UPDATE10,
        MFW_DRV_MSG_TRANSCEIVER_STATE_CHANGE,
        MFW_DRV_MSG_BW_UPDATE11,
-       MFW_DRV_MSG_OEM_CFG_UPDATE,
+       MFW_DRV_MSG_RESERVED,
        MFW_DRV_MSG_GET_TLV_REQ,
+       MFW_DRV_MSG_OEM_CFG_UPDATE,
        MFW_DRV_MSG_MAX
 };