[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210628233835.GB766@hoboy.vegasvil.org>
Date: Mon, 28 Jun 2021 16:38:35 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Jonathan Lemon <jonathan.lemon@...il.com>
Cc: netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH] ptp: Set lookup cookie when creating a PTP PPS source.
On Mon, Jun 28, 2021 at 11:25:33AM -0700, Jonathan Lemon wrote:
> When creating a PTP device, the configuration block allows
> creation of an associated PPS device. However, there isn't
> any way to associate the two devices after creation.
>
> Set the PPS cookie, so pps_lookup_dev(ptp) performs correctly.
Setting lookup_cookie is harmless, AFAICT, but I wonder about the use
case. The doc for pps_lookup_dev() says,
* This is a bit of a kludge that is currently used only by the PPS
* serial line discipline.
and indeed that is the case.
The PHC devices are never serial ports, so how does this help?
Thanks,
Richard
Powered by blists - more mailing lists