]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: fix timing for 82579 Gigabit Ethernet controller
authorBernd Faust <berndfaust@gmail.com>
Thu, 16 Feb 2017 18:42:07 +0000 (19:42 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Apr 2017 23:32:44 +0000 (16:32 -0700)
commit0f3938692a03917a8531e99d35a45618afb8d3c2
tree20bdcd1b19d906ed0af38284a7c2d39c394c78e8
parent57888a3a4034d8dc45e5bae6446f8e815a77030b
e1000e: fix timing for 82579 Gigabit Ethernet controller

After an upgrade to Linux kernel v4.x the hardware timestamps of the
82579 Gigabit Ethernet Controller are different than expected.
The values that are being read are almost four times as big as before
the kernel upgrade.

The difference is that after the upgrade the driver sets the clock
frequency to 25MHz, where before the upgrade it was set to 96MHz. Intel
confirmed that the correct frequency for this network adapter is 96MHz.

Signed-off-by: Bernd Faust <berndfaust@gmail.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Acked-by: Jacob Keller <jacob.e.keller@intel.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/netdev.c