aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qlnx/qlnxe/ecore_mcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/qlnx/qlnxe/ecore_mcp.h')
-rw-r--r--sys/dev/qlnx/qlnxe/ecore_mcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/qlnx/qlnxe/ecore_mcp.h b/sys/dev/qlnx/qlnxe/ecore_mcp.h
index c94583cdfba3..edb1f9083467 100644
--- a/sys/dev/qlnx/qlnxe/ecore_mcp.h
+++ b/sys/dev/qlnx/qlnxe/ecore_mcp.h
@@ -51,10 +51,10 @@ struct ecore_mcp_info {
/* List for mailbox commands which were sent and wait for a response */
osal_list_t cmd_list;
- /* Spinlock used for protecting the access to the mailbox commands list
+ /* Lock used for protecting the access to the mailbox commands list
* and the sending of the commands.
*/
- osal_spinlock_t cmd_lock;
+ osal_mutex_t cmd_lock;
/* Flag to indicate whether sending a MFW mailbox command is blocked */
bool b_block_cmd;
@@ -62,7 +62,7 @@ struct ecore_mcp_info {
/* Spinlock used for syncing SW link-changes and link-changes
* originating from attention context.
*/
- osal_spinlock_t link_lock;
+ osal_mutex_t link_lock;
/* Address of the MCP public area */
u32 public_base;