Skip to content
Commit 9aecda95 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Enable PTP clock and timestamping for all functions on EF10



The SFC9100 family has only one clock per controller, shared by all
functions.  Therefore only create a clock device under the primary
function, and make all other functions refer to the primary's clock
device.

Since PTP functionality is limited to port 0 and PF 0 on the earlier
SFN[56]322F boards, and we also set the primary flag for that
function, we can make the creation of a clock device conditional only
on this flag.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent 0bcf4a64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment