Skip to content

Commit

Permalink
raw/ifpga/base: fix port feature ID
Browse files Browse the repository at this point in the history
[ upstream commit e55d8d4 ]

Fix ID value of port features to match the definition from hardware.

Fixes: 473c88f ("drivers/raw: remove rawdev from directory names")

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
  • Loading branch information
weihuan2 authored and bluca committed Feb 14, 2022
1 parent edea3f3 commit 1044516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/raw/ifpga/base/ifpga_defines.h
Expand Up @@ -93,9 +93,9 @@ enum fpga_id_type {

#define PORT_FEATURE_ID_HEADER FEATURE_ID_FIU_HEADER
#define PORT_FEATURE_ID_ERROR 0x10
#define PORT_FEATURE_ID_UMSG 0x12
#define PORT_FEATURE_ID_UINT 0x13
#define PORT_FEATURE_ID_STP 0x14
#define PORT_FEATURE_ID_UMSG 0x11
#define PORT_FEATURE_ID_UINT 0x12
#define PORT_FEATURE_ID_STP 0x13
#define PORT_FEATURE_ID_UAFU FEATURE_ID_AFU

/*
Expand Down

0 comments on commit 1044516

Please sign in to comment.