summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/siena.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-10-15 17:54:56 +0100
committerBen Hutchings <bhutchings@solarflare.com>2013-12-12 22:07:02 +0000
commitac36baf817c39fc9b53eff190f5901610c5dc5b7 (patch)
treea600cefb96cfded628ec1f60bca5f36099654e18 /drivers/net/ethernet/sfc/siena.c
parent62a1c703568b696c2775a9618840865751cd07d8 (diff)
downloadlinux-ac36baf817c39fc9b53eff190f5901610c5dc5b7.tar.gz
linux-ac36baf817c39fc9b53eff190f5901610c5dc5b7.tar.bz2
linux-ac36baf817c39fc9b53eff190f5901610c5dc5b7.zip
sfc: Remove dependency of PTP on having a dedicated channel
We need a dedicated channel on Siena to ensure we can match up the separate RX and timestamp events for each PTP packet. We won't do this for EF10 as timestamps are delivered inline. Pass a channel index of 0 to MC_CMD_PTP_OP_ENABLE when there is no dedicated channel. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena.c')
-rw-r--r--drivers/net/ethernet/sfc/siena.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c
index f2a7ad4c76aa..53b4ce67be0e 100644
--- a/drivers/net/ethernet/sfc/siena.c
+++ b/drivers/net/ethernet/sfc/siena.c
@@ -259,7 +259,7 @@ static int siena_probe_nic(struct efx_nic *efx)
goto fail5;
efx_sriov_probe(efx);
- efx_ptp_probe(efx);
+ efx_ptp_defer_probe_with_channel(efx);
return 0;