From: Ben Hutchings Date: Thu, 5 Dec 2013 21:28:42 +0000 (+0000) Subject: sfc: Enable PTP clock and timestamping for all functions on EF10 X-Git-Tag: v3.14-rc1~94^2~493^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aecda95d0a2865ed7139d19fe4ae9d819e738be;p=pandora-kernel.git 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: Ben Hutchings --- Reading git-diff-tree failed