[PATCH] e1000e: fix timing for 82579 Gigabit Ethernet controller

2017-02-16 Thread Bernd Faust
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 <berndfa...@gmail.com> --- drivers/net/ethernet/intel/e1000e/netdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/d

[PATCH] e1000e: fix timing for 82579 Gigabit Ethernet controller

2017-02-16 Thread Bernd Faust
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 --- drivers/net/ethernet/intel/e1000e/netdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/intel

[PATCH] Round the calculated scale factor in set_cyc2ns_scale()

2012-12-05 Thread Bernd Faust
the calculation by hand it shows that the actual value is 310.9886188491, so a value of 311 would be more precise. With this change the value is rounded. Signed-off-by: Bernd Faust --- arch/x86/kernel/tsc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/tsc.c b/arch

[PATCH] Round the calculated scale factor in set_cyc2ns_scale()

2012-12-05 Thread Bernd Faust
the calculation by hand it shows that the actual value is 310.9886188491, so a value of 311 would be more precise. With this change the value is rounded. Signed-off-by: Bernd Faust berndfa...@gmail.com --- arch/x86/kernel/tsc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86