Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: phylink: add debug for phy_config_inband()

Add debug for the phy_config_inband() call so we can see which inband
modes are being configured at the PHY.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1w2mFk-0000000DXW2-2PR9@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Russell King (Oracle) and committed by
Jakub Kicinski
eb241585 f44218cd

+7
+7
drivers/net/phy/phylink.c
··· 1341 1341 } 1342 1342 1343 1343 if (pl->phydev && pl->phy_ib_mode) { 1344 + phylink_dbg(pl, "configuring PHY for inband%s%s%s\n", 1345 + pl->phy_ib_mode & LINK_INBAND_DISABLE ? 1346 + " disable" : "", 1347 + pl->phy_ib_mode & LINK_INBAND_ENABLE ? 1348 + " enable" : "", 1349 + pl->phy_ib_mode & LINK_INBAND_BYPASS ? 1350 + " bypass" : ""); 1344 1351 err = phy_config_inband(pl->phydev, pl->phy_ib_mode); 1345 1352 if (err < 0) { 1346 1353 phylink_err(pl, "phy_config_inband: %pe\n",