Messages in this thread | | | Date | Thu, 27 Jul 2023 06:36:43 -0700 | From | Richard Cochran <> | Subject | Re: [PATCH v2] net: stmmac: correct MAC propagation delay |
| |
On Thu, Jul 27, 2023 at 09:20:10AM +0200, Johannes Zink wrote: > Hi Richard, > > On 7/26/23 22:57, Richard Cochran wrote: > > On Mon, Jul 24, 2023 at 12:01:31PM +0200, Johannes Zink wrote: > > > > Earlier versions of the IP core return zero from these... > > > > > +#define PTP_TS_INGR_LAT 0x68 /* MAC internal Ingress Latency */ > > > +#define PTP_TS_EGR_LAT 0x6c /* MAC internal Egress Latency */ > > > > good catch. Gonna send a v3 with a check to and set the values for dwmac v5 only.
AFAICT there is no feature bit that indicates the presence or absence of these two registers.
Are you sure that *all* v5 IP cores have these?
I am not sure.
Thanks, Richard
| |