Commit 4b6b8c02 authored by Shalom Toledo's avatar Shalom Toledo Committed by David S. Miller

mlxsw: cmd: Free running clock PCI BAR and offsets via query firmware

Add free running clock PCI BAR and offset to query firmware command.
Signed-off-by: default avatarShalom Toledo <shalomt@mellanox.com>
Reviewed-by: default avatarPetr Machata <petrm@mellanox.com>
Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 514fcaac
...@@ -317,6 +317,18 @@ MLXSW_ITEM64(cmd_mbox, query_fw, doorbell_page_offset, 0x40, 0, 64); ...@@ -317,6 +317,18 @@ MLXSW_ITEM64(cmd_mbox, query_fw, doorbell_page_offset, 0x40, 0, 64);
*/ */
MLXSW_ITEM32(cmd_mbox, query_fw, doorbell_page_bar, 0x48, 30, 2); MLXSW_ITEM32(cmd_mbox, query_fw, doorbell_page_bar, 0x48, 30, 2);
/* cmd_mbox_query_fw_free_running_clock_offset
* The offset of the free running clock page
*/
MLXSW_ITEM64(cmd_mbox, query_fw, free_running_clock_offset, 0x50, 0, 64);
/* cmd_mbox_query_fw_fr_rn_clk_bar
* PCI base address register (BAR) of the free running clock page
* 0: BAR 0
* 1: 64 bit BAR
*/
MLXSW_ITEM32(cmd_mbox, query_fw, fr_rn_clk_bar, 0x58, 30, 2);
/* QUERY_BOARDINFO - Query Board Information /* QUERY_BOARDINFO - Query Board Information
* ----------------------------------------- * -----------------------------------------
* OpMod == 0 (N/A), INMmod == 0 (N/A) * OpMod == 0 (N/A), INMmod == 0 (N/A)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment