]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
e1000e: fix PTP on e1000_pch_lpt variants
authorJarod Wilson <jarod@redhat.com>
Tue, 26 Jul 2016 18:25:35 +0000 (14:25 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 30 Apr 2017 12:12:07 +0000 (05:12 -0700)
I've got reports that the Intel I-218V NIC in Intel NUC5i5RYH systems used
as a PTP slave experiences random ~10 hour clock jumps, which are resolved
if the same workaround for the 82574 and 82583 is employed, so set the
appropriate flag2 in e1000_pch_lpt_info too.

Reported-by: Rupesh Patel <rupatel@redhat.com>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c

index f3aaca743ea3ff3a2250547e47fb8d1c275f0cea..72add037f07e99f8be56e1310d57ef47de27546d 100644 (file)
@@ -5865,7 +5865,8 @@ const struct e1000_info e1000_pch2_info = {
                                  | FLAG_HAS_JUMBO_FRAMES
                                  | FLAG_APME_IN_WUC,
        .flags2                 = FLAG2_HAS_PHY_STATS
-                                 | FLAG2_HAS_EEE,
+                                 | FLAG2_HAS_EEE
+                                 | FLAG2_CHECK_SYSTIM_OVERFLOW,
        .pba                    = 26,
        .max_hw_frame_size      = 9022,
        .get_variants           = e1000_get_variants_ich8lan,