[arch-commits] Commit in r8168/trunk (PKGBUILD linux-4.7.patch)

Massimiliano Torromeo mtorromeo at archlinux.org
Fri Oct 14 08:47:46 UTC 2016


    Date: Friday, October 14, 2016 @ 08:47:45
  Author: mtorromeo
Revision: 192254

upgpkg: r8168 8.043.01-1

Modified:
  r8168/trunk/PKGBUILD
Deleted:
  r8168/trunk/linux-4.7.patch

-----------------+
 PKGBUILD        |   13 +++++--------
 linux-4.7.patch |   34 ----------------------------------
 2 files changed, 5 insertions(+), 42 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-14 08:47:33 UTC (rev 192253)
+++ PKGBUILD	2016-10-14 08:47:45 UTC (rev 192254)
@@ -4,8 +4,8 @@
 # Contributor: Filip <fila pruda com>, Det < nimetonmaili(at)gmail >
 
 pkgname=r8168
-pkgver=8.042
-pkgrel=5
+pkgver=8.043.01
+pkgrel=1
 pkgdesc="A kernel module for Realtek 8168 network cards"
 url="http://www.realtek.com.tw"
 license=("GPL")
@@ -14,16 +14,13 @@
 makedepends=('linux-headers')
 install=$pkgname.install
 source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz
-        linux-4.5.patch
-				linux-4.7.patch)
-sha256sums=('9dd8ae22115bcbef98c15b0b1e2160300cce3129ef7e0485d7e577188ba3fcc2'
-            'e05a4bccf28beecc97db246064a5fe80d1303476b76086bd262c9c8db82b2e6e'
-            'bbdc817278b17a1803c74228eaccbddb347ae92424a9a6cc92a68946f5392969')
+        linux-4.5.patch)
+sha256sums=('517ec3fe3c4d25476f6b7b2bd59c3dee548b8dddfe96d2bbc58f65859155142e'
+            'e05a4bccf28beecc97db246064a5fe80d1303476b76086bd262c9c8db82b2e6e')
 
 prepare() {
 	cd "$pkgname-$pkgver"
 	patch -p1 -i ../linux-4.5.patch
-	patch -p1 -i ../linux-4.7.patch
 }
 
 build() {

Deleted: linux-4.7.patch
===================================================================
--- linux-4.7.patch	2016-10-14 08:47:33 UTC (rev 192253)
+++ linux-4.7.patch	2016-10-14 08:47:45 UTC (rev 192254)
@@ -1,34 +0,0 @@
---- r8168-8.042.00/src/r8168_n.c.orig	2016-08-01 21:20:42.000000000 +0200
-+++ r8168-8.042.00/src/r8168_n.c	2016-08-01 21:32:49.488072441 +0200
-@@ -22800,7 +22800,9 @@
-                         dev->hw_features &= ~NETIF_F_IPV6_CSUM;
-                         netif_set_gso_max_size(dev, LSO_32K);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,7,0)
-                         dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT;
-+#endif
-                         dev->gso_max_segs = NIC_MAX_PHYS_BUF_COUNT_LSO_64K;
- #endif
-                 } else {
-@@ -22808,7 +22810,9 @@
-                         dev->features |=  NETIF_F_IPV6_CSUM | NETIF_F_TSO6;
-                         netif_set_gso_max_size(dev, LSO_64K);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,7,0)
-                         dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT;
-+#endif
-                         dev->gso_max_segs = NIC_MAX_PHYS_BUF_COUNT_LSO2;
- #endif
-                 }
-@@ -24970,7 +24974,11 @@
-         wmb();
-         txd->opts1 = cpu_to_le32(opts1);
- 
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,7,0)
-         dev->trans_start = jiffies;
-+#else
-+        netif_trans_update(dev);
-+#endif
- 
-         tp->cur_tx += frags + 1;
- 



More information about the arch-commits mailing list