Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a8b1ccdac7f0787a7e51a1c19d2cda0e6db6bbac
commit a8b1ccdac7f0787a7e51a1c19d2cda0e6db6bbac Author: DeX77 <[email protected]> Date: Thu Dec 14 14:41:34 2017 +0100 kernel-4.14.6-1-x86_64 * kernel 4.14.6 diff --git a/source/base/kernel/FrugalBuild b/source/base/kernel/FrugalBuild index 135efe9..3b67972 100644 --- a/source/base/kernel/FrugalBuild +++ b/source/base/kernel/FrugalBuild @@ -34,6 +34,7 @@ _F_kernel_patches=( introduce-NUMA-identity-node-sched-domain.patch # mute PPS error shit .. buggy in 4.14.x mute-pps_state_mismatch.patch + fix-e1000e-nm.patch ) for ppatch in "${_F_kernel_patches[@]}" diff --git a/source/base/kernel/fix-e1000e-nm.patch b/source/base/kernel/fix-e1000e-nm.patch new file mode 100644 index 0000000..dd7f8ed --- /dev/null +++ b/source/base/kernel/fix-e1000e-nm.patch @@ -0,0 +1,46 @@ +--- + drivers/net/ethernet/intel/e1000e/ich8lan.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c +index d6d4ed7acf03..31277d3bb7dc 100644 +--- a/drivers/net/ethernet/intel/e1000e/ich8lan.c ++++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c +@@ -1367,6 +1367,9 @@ static s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force) + * Checks to see of the link status of the hardware has changed. If a + * change in link status has been detected, then we read the PHY registers + * to get the current speed/duplex if link exists. ++ * ++ * Returns a negative error code (-E1000_ERR_*) or 0 (link down) or 1 (link ++ * up). + **/ + static s32 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) + { +@@ -1382,7 +1385,7 @@ static s32 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) + * Change or Rx Sequence Error interrupt. + */ + if (!mac->get_link_status) +- return 0; ++ return 1; + + /* First we want to see if the MII Status Register reports + * link. If so, then we want to get the current speed/duplex +@@ -1613,10 +1616,12 @@ static s32 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) + * different link partner. + */ + ret_val = e1000e_config_fc_after_link_up(hw); +- if (ret_val) ++ if (ret_val) { + e_dbg("Error configuring flow control\n"); ++ return ret_val; ++ } + +- return ret_val; ++ return 1; + } + + static s32 e1000_get_variants_ich8lan(struct e1000_adapter *adapter) +-- +2.15.1 + + \ No newline at end of file diff --git a/source/include/kernel-version.sh b/source/include/kernel-version.sh index 6813f7f..53baadd 100644 --- a/source/include/kernel-version.sh +++ b/source/include/kernel-version.sh @@ -16,7 +16,7 @@ # * _F_kernelver_stable: the number of the -stable patch to use (if any) # * _F_kernelver_nextver: the next kernel version ### -_F_kernelver_ver=4.14.5 +_F_kernelver_ver=4.14.6 _F_kernelver_rel=1 ### _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
