[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170830.144745.947488279115809130.davem@davemloft.net>
Date: Wed, 30 Aug 2017 14:47:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: stefan.sorensen@...ctralink.com
Cc: grygorii.strashko@...com, netdev@...r.kernel.org,
linux-omap@...r.kernel.org
Subject: Re: [PATCH net-next] net: cpsw: Don't handle SIOC[GS]HWTSTAMP when
CPTS is disabled
From: Stefan Sørensen <stefan.sorensen@...ctralink.com>
Date: Wed, 30 Aug 2017 08:50:55 +0200
> There is no reason to handle SIOC[GS]HWTSTAMP and return -EOPNOTSUPP when
> CPTS is disabled, so just pass them on to the phy. This will allow PTP
> timestamping on a capable phy by disabling CPTS.
>
> Signed-off-by: Stefan Sørensen <stefan.sorensen@...ctralink.com>
It should not be required to disable a Kconfig option just to get PHY
timestamping to work properly.
Rather, if the CPTS code returns -EOPNOTSUPP we should try to
fallthrough to the PHY library based methods.
Thanks.
Powered by blists - more mailing lists