network/r8168: Updated for version 8.045.08.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-09-29 03:06:56 +07:00 committed by Willy Sudiarto Raharjo
parent 32d444a052
commit 89da5b3040
3 changed files with 4 additions and 21 deletions

View file

@ -1,14 +0,0 @@
diff --git a/src/r8168_n.c b/src/r8168_n.c
index 3c5a7e7..e2026bb 100755
--- a/src/r8168_n.c
+++ b/src/r8168_n.c
@@ -25732,7 +25732,9 @@ process_pkt:
if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
rtl8168_rx_skb(tp, skb);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
dev->last_rx = jiffies;
+#endif
RTLDEV->stats.rx_bytes += pkt_size;
RTLDEV->stats.rx_packets++;
}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=r8168
VERSION=${VERSION:-8.044.02}
VERSION=${VERSION:-8.045.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -72,9 +72,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# patch from arch for 4.11 kernels
cat $CWD/r8168-linux-4.11.patch | patch -p1
make -C /lib/modules/$KERNEL/build \
SUBDIRS="$TMP/$PRGNAM-$VERSION/src" \
EXTRA_CFLAGS="$SLKCFLAGS" \

View file

@ -1,8 +1,8 @@
PRGNAM="r8168"
VERSION="8.044.02"
VERSION="8.045.08"
HOMEPAGE="https://github.com/mtorromeo/r8168"
DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.044.02/r8168-8.044.02.tar.gz"
MD5SUM="ff7cb76de167608834f1bde66da882ff"
DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.045.08/r8168-8.045.08.tar.gz"
MD5SUM="8a586d9948bfd6fbbcc02087b70e0a79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""