jwrdegoede / rtl8189ES_linux

79 stars 92 forks source link

Feature/kernel 4 19 update #18

Closed jerbob92 closed 6 years ago

jerbob92 commented 6 years ago

Updates the source code to be able to compile it with kernel 4.19-rc1. The change was needed because of

    net: allow ndo_select_queue to pass netdev

    This patch makes it so that instead of passing a void pointer as the
    accel_priv we instead pass a net_device pointer as sb_dev. Making this
    change allows us to pass the subordinate device through to the fallback
    function eventually so that we can keep the actual code in the
    ndo_select_queue call as focused on possible on the exception cases.

I also changed the Travis file to be sure it will compile for 4.19 too. I had to do some weird workarounds to install the newer kernel on Ubuntu 14.04 (the build system that Travis uses) like upgrade dpkg and install libssl. Build results here: https://travis-ci.org/jerbob92/rtl8189fs_linux/builds/423567823

jerbob92 commented 6 years ago

@CGarces I'd rather not remove kernel versions from the tests to make sure it still compiles on all kernels that required driver changes.

CGarces commented 6 years ago

I think that use the last LTS is good enough. if not the matrix build will be huge on the future. I just keep 3.14 because I need it for my LibreELEC builds. Thanks for the fix for 4.19.