Message ID | 20210614121849.437119-2-olteanv@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Fixes and improvements to TJA1103 PHY driver | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net-next |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | success | CCed 7 of 7 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
On Mon, Jun 14, 2021 at 03:18:47PM +0300, Vladimir Oltean wrote: > From: Vladimir Oltean <vladimir.oltean@nxp.com> > > The SJA1110 switch integrates these PHYs, and they do not have support > for timestamping. This message becomes quite overwhelming: > > [ 10.056596] NXP C45 TJA1103 spi1.0-base-t1:01: the phy does not support PTP > [ 10.112625] NXP C45 TJA1103 spi1.0-base-t1:02: the phy does not support PTP > [ 10.167461] NXP C45 TJA1103 spi1.0-base-t1:03: the phy does not support PTP > [ 10.223510] NXP C45 TJA1103 spi1.0-base-t1:04: the phy does not support PTP > [ 10.278239] NXP C45 TJA1103 spi1.0-base-t1:05: the phy does not support PTP > [ 10.332663] NXP C45 TJA1103 spi1.0-base-t1:06: the phy does not support PTP > [ 15.390828] NXP C45 TJA1103 spi1.2-base-t1:01: the phy does not support PTP > [ 15.445224] NXP C45 TJA1103 spi1.2-base-t1:02: the phy does not support PTP > [ 15.499673] NXP C45 TJA1103 spi1.2-base-t1:03: the phy does not support PTP > [ 15.554074] NXP C45 TJA1103 spi1.2-base-t1:04: the phy does not support PTP > [ 15.608516] NXP C45 TJA1103 spi1.2-base-t1:05: the phy does not support PTP > [ 15.662996] NXP C45 TJA1103 spi1.2-base-t1:06: the phy does not support PTP > > So reduce its log level to debug. > > Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
diff --git a/drivers/net/phy/nxp-c45-tja11xx.c b/drivers/net/phy/nxp-c45-tja11xx.c index 512e4cb5d2c2..902fe1aa7782 100644 --- a/drivers/net/phy/nxp-c45-tja11xx.c +++ b/drivers/net/phy/nxp-c45-tja11xx.c @@ -1090,7 +1090,7 @@ static int nxp_c45_probe(struct phy_device *phydev) VEND1_PORT_ABILITIES); ptp_ability = !!(ptp_ability & PTP_ABILITY); if (!ptp_ability) { - phydev_info(phydev, "the phy does not support PTP"); + phydev_dbg(phydev, "the phy does not support PTP"); goto no_ptp_support; }