diff options
author | Nithin Sujir <nsujir@broadcom.com> | 2013-07-29 13:58:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-29 23:38:52 -0700 |
commit | 92e6457d4cf68ef69bc4f98330c93e198df06a43 (patch) | |
tree | a60ad7edf04f1881225b8e4eb04fd3f394221c24 /fs/libfs.c | |
parent | 4c305fa2cbe2a85c34899763fcefb843c87b591d (diff) | |
download | op-kernel-dev-92e6457d4cf68ef69bc4f98330c93e198df06a43.zip op-kernel-dev-92e6457d4cf68ef69bc4f98330c93e198df06a43.tar.gz |
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 <richardcochran@gmail.com>
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions