Skip to content

Commit 29045c9

Browse files
committed
dbg: net: dsa: mxl862xx: extend information on write error
1 parent d0b6906 commit 29045c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/mxl862xx/mxl862xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3294,7 +3294,7 @@ static void mxl862xx_phylink_mac_config(struct phylink_config *config, unsigned
32943294

32953295
ret = MXL862XX_API_WRITE(dp->ds->priv, SYS_MISC_SFP_SET, ser_intf);
32963296
if (ret)
3297-
dev_err(dp->ds->dev, "failed to set intf on port %d\n", dp->index);
3297+
dev_err(dp->ds->dev, "failed to set intf on port %d (hw:%d,ser_port_id:%d) to %d (ret:%d)\n", dp->index,hw_port,ser_intf.port_id,ser_intf.speed,ret);
32983298
} else {
32993299
/* Internal phy */
33003300
if (state->interface != PHY_INTERFACE_MODE_INTERNAL) {

0 commit comments

Comments
 (0)