[LEDE-DEV] [PATCH 00/25] Add support for kernel 4.14

Hauke Mehrtens hauke at hauke-m.de
Sun Jan 7 14:00:25 PST 2018


On 01/07/2018 10:17 PM, Andrey Jr. Melnikov wrote:
> Hauke Mehrtens <hauke at hauke-m.de> wrote:
>> This adds support for kernel 4.14 to LEDE.
> 
> [...]
> 
>> This is my current state and everything should compile for the x86 
>> target, I think this is now in  a state to request some comments.
>> If some of my changes are looking suspicious to you please send a mail, 
> Why in commit https://git.lede-project.org/?p=openwrt/staging/hauke.git;a=blob;f=target/linux/generic/pending-4.14/701-phy_extension.patch;h=1b380e24a9aa437534560442bde18467ba98f384;hb=e9afeeaff4ee2c6a08e05ceab75048c18dc88c4b
> 
> int phy_ethtool_gset(...) convrted in static and lost EXPORT_SYMBOL(phy_ethtool_gset); ?
> 
> This export need for ramips:net/ethernet/mtk/ethtool.c

Hi,

This function was removed from the mainline kernel so I added it only
for this file again, see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f8fe99754673719ab791713a676bf27dae616fbc

I think we should convert the drivers using this function to the new
API, see here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6e76510e7e19bfdca65042ccd52543011ed92047

Hauke



More information about the Lede-dev mailing list