Merge remote-tracking branch 'iommu/next'
[deliverable/linux.git] / drivers / net / ethernet / sfc / siena.c
index 994e33f93cafc7392ca86c24b56fe684a1369dab..04ed1b4c7cd98ac424d83e54dda2f4f6aee76af7 100644 (file)
@@ -227,6 +227,9 @@ static int siena_probe_nvconfig(struct efx_nic *efx)
        efx->timer_quantum_ns =
                (caps & (1 << MC_CMD_CAPABILITIES_TURBO_ACTIVE_LBN)) ?
                3072 : 6144; /* 768 cycles */
+       efx->timer_max_ns = efx->type->timer_period_max *
+                           efx->timer_quantum_ns;
+
        return rc;
 }
 
This page took 0.024625 seconds and 5 git commands to generate.