diff options
author | Richard Cochran <richardcochran@gmail.com> | 2014-03-20 22:21:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-21 19:21:14 +0100 |
commit | 4986b4f008c45cf846dfe76a4602b4a7b027650c (patch) | |
tree | 2e758a8de5229a70cb5cb7497f86e28cc72b3b0d /drivers/net/ethernet/broadcom/tg3.c | |
parent | ptp: expose the programmable pins via sysfs (diff) | |
download | linux-4986b4f008c45cf846dfe76a4602b4a7b027650c.tar.xz linux-4986b4f008c45cf846dfe76a4602b4a7b027650c.zip |
ptp: drivers: set the number of programmable pins.
This patch updates the many PTP Hardware Clock drivers with the
newly introduced field that advertises the number of programmable
pins. Some of these devices do have programmable pins, but the
implementation will have to wait for follow on patches.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index bbbd2a4bc161..37422af9ef13 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -6322,6 +6322,7 @@ static const struct ptp_clock_info tg3_ptp_caps = { .n_alarm = 0, .n_ext_ts = 0, .n_per_out = 1, + .n_pins = 0, .pps = 0, .adjfreq = tg3_ptp_adjfreq, .adjtime = tg3_ptp_adjtime, |