diff --git a/inc/saiport.h b/inc/saiport.h index e656cdd36..fb29e3b51 100644 --- a/inc/saiport.h +++ b/inc/saiport.h @@ -78,7 +78,7 @@ typedef enum _sai_port_oper_status_t /** * @brief Attribute bitmap data for #SAI_PORT_ATTR_ERROR_STATUS */ -typedef enum _sai_port_errors_status_t +typedef enum _sai_port_error_status_t { /** No errors */ SAI_PORT_ERROR_STATUS_CLEAR = 0, @@ -89,8 +89,8 @@ typedef enum _sai_port_errors_status_t SAI_PORT_ERROR_STATUS_FEC_SYNC_LOSS = 4, - SAI_PORT_STATUS_FEC_LOSS_ALIGNMENT_MARKER = 8 -} sai_port_errors_status_t; + SAI_PORT_ERROR_STATUS_FEC_LOSS_ALIGNMENT_MARKER = 8 +} sai_port_error_status_t; /** * @brief Defines the operational status of the port @@ -108,7 +108,7 @@ typedef struct _sai_port_oper_status_notification_t sai_port_oper_status_t port_state; /** Bitmap of various port error or fault status */ - sai_port_errors_status_t port_error_status; + sai_port_error_status_t port_error_status; } sai_port_oper_status_notification_t; /** @@ -2564,9 +2564,9 @@ typedef enum _sai_port_attr_t * various port error and fault status. The attribute can also * be used to query the current port error and fault status. * - * @type sai_port_errors_status_t + * @type sai_port_error_status_t * @flags READ_ONLY - * @default SAI_PORT_ERROR_CLEAR + * @default SAI_PORT_ERROR_STATUS_CLEAR */ SAI_PORT_ATTR_ERROR_STATUS,