From: Alexandre Rames Date: Fri, 8 Nov 2013 10:20:31 +0000 (+0000) Subject: sfc: Stop/re-start PTP when stopping/starting the datapath. X-Git-Tag: v3.13-rc4~3^2~32^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ea4dc28a5bcec408e01a8772763871638a5ec79;p=pandora-kernel.git sfc: Stop/re-start PTP when stopping/starting the datapath. This disables PTP when we bring the interface down to avoid getting unmatched RX timestamp events, and tries to re-enable it when bringing the interface up. [bwh: Make efx_ptp_stop() safe on Falcon. Introduce efx_ptp_{start,stop}_datapath() functions; we'll expand them later.] Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP') Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed