Skip to content

Commit 158b657

Browse files
committed
Added Phy debug dump
1 parent 629107b commit 158b657

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

inc/switchtec/mrpc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ enum mrpc_cmd {
100100
MRPC_EP_RESOURCE_ACCESS = 0x8E,
101101
MRPC_EP_TUNNEL_CFG = 0x8F,
102102
MRPC_NVME_ADMIN_PASSTHRU = 0x91,
103+
MRPC_PHY_DEBUG_DUMP = 0xFF,
103104

104105
MRPC_I2C_TWI_PING = 0x100,
105106
MRPC_SECURITY_CONFIG_GET = 0x101,

lib/mrpc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ const struct switchtec_mrpc switchtec_mrpc_table[MRPC_MAX_ID] = {
9797
M(EP_RESOURCE_ACCESS, "Endpoint Device CSR and MS Raw Access"),
9898
M(EP_TUNNEL_CFG, "Endpoint Device Tunnel Configuration"),
9999
M(NVME_ADMIN_PASSTHRU, "NVMe Admin Passthrough"),
100+
M(PHY_DEBUG_DUMP, "Dump PHY Registers"),
100101
M(I2C_TWI_PING, "I2C/TWI Ping"),
101102
M(SECURITY_CONFIG_GET, "Secure Configuration Get"),
102103
M(SECURITY_CONFIG_SET, "Secure Configuration Set"),

0 commit comments

Comments
 (0)