sfc: Enable PTP clock and timestamping for all functions on EF10
[deliverable/linux.git] / drivers / net / ethernet / sfc / ef10.c
index a3d891764030954d7bbe5a36d5114d5f29507233..dfff8e7a55e2bc2df05b9de5cbae777c364fe4d5 100644 (file)
@@ -264,6 +264,8 @@ static int efx_ef10_probe(struct efx_nic *efx)
        if (rc)
                goto fail3;
 
+       efx_ptp_probe(efx, NULL);
+
        return 0;
 
 fail3:
@@ -472,9 +474,10 @@ static void efx_ef10_remove(struct efx_nic *efx)
        struct efx_ef10_nic_data *nic_data = efx->nic_data;
        int rc;
 
+       efx_ptp_remove(efx);
+
        efx_mcdi_mon_remove(efx);
 
-       /* This needs to be after efx_ptp_remove_channel() with no filters */
        efx_ef10_rx_free_indir_table(efx);
 
        if (nic_data->wc_membase)
This page took 0.025442 seconds and 5 git commands to generate.