From: Nithin Sujir Date: Mon, 29 Jul 2013 20:58:38 +0000 (-0700) Subject: tg3: Enable support for timesync gpio output X-Git-Tag: v3.12-rc1~132^2~432 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e6457d4cf68ef69bc4f98330c93e198df06a43;p=pandora-kernel.git tg3: Enable support for timesync gpio output The PTP_CAPABLE tg3 devices have a gpio output that is toggled when the free running counter matches a watchdog value. This patch adds support to set the watchdog and enable this feature. Since the output is controlled via bits in the EAV_REF_CLCK_CTL register, we have to read-modify-write it when we stop/resume. Cc: Richard Cochran Signed-off-by: Nithin Nayak Sujir Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed