[arch-commits] Commit in r8168-lts/repos (12 files)

Massimiliano Torromeo mtorromeo at nymeria.archlinux.org
Mon Mar 10 08:42:10 UTC 2014


    Date: Monday, March 10, 2014 @ 09:42:10
  Author: mtorromeo
Revision: 106911

archrelease: copy trunk to community-i686, community-x86_64

Added:
  r8168-lts/repos/community-i686/PKGBUILD
    (from rev 106910, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-i686/linux-3.10.patch
    (from rev 106910, r8168-lts/trunk/linux-3.10.patch)
  r8168-lts/repos/community-i686/r8168-lts.install
    (from rev 106910, r8168-lts/trunk/r8168-lts.install)
  r8168-lts/repos/community-x86_64/PKGBUILD
    (from rev 106910, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-x86_64/linux-3.10.patch
    (from rev 106910, r8168-lts/trunk/linux-3.10.patch)
  r8168-lts/repos/community-x86_64/r8168-lts.install
    (from rev 106910, r8168-lts/trunk/r8168-lts.install)
Deleted:
  r8168-lts/repos/community-i686/PKGBUILD
  r8168-lts/repos/community-i686/linux-3.10.patch
  r8168-lts/repos/community-i686/r8168-lts.install
  r8168-lts/repos/community-x86_64/PKGBUILD
  r8168-lts/repos/community-x86_64/linux-3.10.patch
  r8168-lts/repos/community-x86_64/r8168-lts.install

------------------------------------+
 /PKGBUILD                          |   68 ++++++++++++++++++++
 /linux-3.10.patch                  |  118 +++++++++++++++++++++++++++++++++++
 /r8168-lts.install                 |   34 ++++++++++
 community-i686/PKGBUILD            |   34 ----------
 community-i686/linux-3.10.patch    |   59 -----------------
 community-i686/r8168-lts.install   |   17 -----
 community-x86_64/PKGBUILD          |   34 ----------
 community-x86_64/linux-3.10.patch  |   59 -----------------
 community-x86_64/r8168-lts.install |   17 -----
 9 files changed, 220 insertions(+), 220 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-03-10 08:38:45 UTC (rev 106910)
+++ community-i686/PKGBUILD	2014-03-10 08:42:10 UTC (rev 106911)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=r8168-lts
-_pkgname=r8168
-pkgver=8.037.00
-pkgrel=7
-pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
-url="http://www.realtek.com.tw"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('glibc' "linux-lts>=3.10" "linux-lts<3.11")
-makedepends=("linux-lts-headers>=3.10" "linux-lts-headers<3.11")
-source=(http://r8168.googlecode.com/files/$_pkgname-$pkgver.tar.bz2)
-install=$pkgname.install
-
-_extramodules=extramodules-3.10-lts
-
-build() {
-	cd "$_pkgname-$pkgver"
-	local _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
-	make -C /usr/lib/modules/$_kernver/build \
-			SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
-			EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
-			modules
-}
-
-package() {
-	cd "$_pkgname-$pkgver"
-	install -Dm644 src/$_pkgname.ko "$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
-	find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
-}
-
-sha256sums=('06aa1c6a58a878450798100eb5f9c3d87763c5f41e99b7d5f3b2fe78646d02b0')

Copied: r8168-lts/repos/community-i686/PKGBUILD (from rev 106910, r8168-lts/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-03-10 08:42:10 UTC (rev 106911)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.038.00
+pkgrel=1
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('glibc' "linux-lts>=3.10" "linux-lts<3.11")
+makedepends=("linux-lts-headers>=3.10" "linux-lts-headers<3.11")
+source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2")
+install=$pkgname.install
+
+_extramodules=extramodules-3.10-lts
+
+build() {
+	cd "$_pkgname-$pkgver"
+	local _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+	make -C /usr/lib/modules/$_kernver/build \
+			SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+			EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+			modules
+}
+
+package() {
+	cd "$_pkgname-$pkgver"
+	install -Dm644 src/$_pkgname.ko "$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+	find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}
+
+sha256sums=('1384bdf4d33b219f937bf1a600c72b22962baf7796e562b08e4da3c000f49072')

Deleted: community-i686/linux-3.10.patch
===================================================================
--- community-i686/linux-3.10.patch	2014-03-10 08:38:45 UTC (rev 106910)
+++ community-i686/linux-3.10.patch	2014-03-10 08:42:10 UTC (rev 106911)
@@ -1,59 +0,0 @@
---- src/r8168_n.c.orig	2013-07-02 14:20:27.355887286 +0200
-+++ src/r8168_n.c	2013-07-02 14:24:25.302573010 +0200
-@@ -52,6 +52,10 @@
- #include <linux/init.h>
- #include <linux/rtnetlink.h>
- 
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+#include <linux/if_ether.h>
-+#endif
-+
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
- #include <linux/pci-aspm.h>
- #endif
-@@ -2232,6 +2236,9 @@
-                                swab16(opts2 & 0xffff));
-         ret = 0;
-     }
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+	if (opts2 & RxVlanTag)
-+		__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff));
- #else
-     if (opts2 & RxVlanTag)
-         __vlan_hwaccel_put_tag(skb, swab16(opts2 & 0xffff));
-@@ -2295,7 +2302,11 @@
-     else
-         tp->cp_cmd &= ~RxChkSum;
- 
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+	if (dev->features & NETIF_F_HW_VLAN_CTAG_RX)
-+#else
-     if (dev->features & NETIF_F_HW_VLAN_RX)
-+#endif
-         tp->cp_cmd |= RxVlan;
-     else
-         tp->cp_cmd &= ~RxVlan;
-@@ -16195,7 +16206,11 @@
- 
- #ifdef CONFIG_R8168_VLAN
-     if (tp->mcfg != CFG_METHOD_DEFAULT) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+		dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
-+#else
-         dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
-+#endif
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
-         dev->vlan_rx_kill_vid = rtl8168_vlan_rx_kill_vid;
- #endif //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
-@@ -16210,7 +16225,11 @@
- #else
-         dev->features |= NETIF_F_RXCSUM;
-         dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+                           NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
-+#else
-                            NETIF_F_RXCSUM | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
-+#endif
-         dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
-                              NETIF_F_HIGHDMA;
- #endif

Copied: r8168-lts/repos/community-i686/linux-3.10.patch (from rev 106910, r8168-lts/trunk/linux-3.10.patch)
===================================================================
--- community-i686/linux-3.10.patch	                        (rev 0)
+++ community-i686/linux-3.10.patch	2014-03-10 08:42:10 UTC (rev 106911)
@@ -0,0 +1,59 @@
+--- src/r8168_n.c.orig	2013-07-02 14:20:27.355887286 +0200
++++ src/r8168_n.c	2013-07-02 14:24:25.302573010 +0200
+@@ -52,6 +52,10 @@
+ #include <linux/init.h>
+ #include <linux/rtnetlink.h>
+ 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++#include <linux/if_ether.h>
++#endif
++
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
+ #include <linux/pci-aspm.h>
+ #endif
+@@ -2232,6 +2236,9 @@
+                                swab16(opts2 & 0xffff));
+         ret = 0;
+     }
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++	if (opts2 & RxVlanTag)
++		__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff));
+ #else
+     if (opts2 & RxVlanTag)
+         __vlan_hwaccel_put_tag(skb, swab16(opts2 & 0xffff));
+@@ -2295,7 +2302,11 @@
+     else
+         tp->cp_cmd &= ~RxChkSum;
+ 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++	if (dev->features & NETIF_F_HW_VLAN_CTAG_RX)
++#else
+     if (dev->features & NETIF_F_HW_VLAN_RX)
++#endif
+         tp->cp_cmd |= RxVlan;
+     else
+         tp->cp_cmd &= ~RxVlan;
+@@ -16195,7 +16206,11 @@
+ 
+ #ifdef CONFIG_R8168_VLAN
+     if (tp->mcfg != CFG_METHOD_DEFAULT) {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++		dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
++#else
+         dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
++#endif
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+         dev->vlan_rx_kill_vid = rtl8168_vlan_rx_kill_vid;
+ #endif //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+@@ -16210,7 +16225,11 @@
+ #else
+         dev->features |= NETIF_F_RXCSUM;
+         dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++                           NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
++#else
+                            NETIF_F_RXCSUM | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
++#endif
+         dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
+                              NETIF_F_HIGHDMA;
+ #endif

Deleted: community-i686/r8168-lts.install
===================================================================
--- community-i686/r8168-lts.install	2014-03-10 08:38:45 UTC (rev 106910)
+++ community-i686/r8168-lts.install	2014-03-10 08:42:10 UTC (rev 106911)
@@ -1,17 +0,0 @@
-rebuild_module_dependencies() {
-	EXTRAMODULES='extramodules-3.10-lts'
-	depmod $(cat /lib/modules/$EXTRAMODULES/version)
-}
-
-post_install() {
-  rebuild_module_dependencies
-	echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:'
-	echo '>>>  `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`'
-}
-post_upgrade() {
-	rebuild_module_dependencies
-}
-
-post_remove() {
-	rebuild_module_dependencies
-}

Copied: r8168-lts/repos/community-i686/r8168-lts.install (from rev 106910, r8168-lts/trunk/r8168-lts.install)
===================================================================
--- community-i686/r8168-lts.install	                        (rev 0)
+++ community-i686/r8168-lts.install	2014-03-10 08:42:10 UTC (rev 106911)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+	EXTRAMODULES='extramodules-3.10-lts'
+	depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+  rebuild_module_dependencies
+	echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:'
+	echo '>>>  `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`'
+}
+post_upgrade() {
+	rebuild_module_dependencies
+}
+
+post_remove() {
+	rebuild_module_dependencies
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-03-10 08:38:45 UTC (rev 106910)
+++ community-x86_64/PKGBUILD	2014-03-10 08:42:10 UTC (rev 106911)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=r8168-lts
-_pkgname=r8168
-pkgver=8.037.00
-pkgrel=7
-pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
-url="http://www.realtek.com.tw"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('glibc' "linux-lts>=3.10" "linux-lts<3.11")
-makedepends=("linux-lts-headers>=3.10" "linux-lts-headers<3.11")
-source=(http://r8168.googlecode.com/files/$_pkgname-$pkgver.tar.bz2)
-install=$pkgname.install
-
-_extramodules=extramodules-3.10-lts
-
-build() {
-	cd "$_pkgname-$pkgver"
-	local _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
-	make -C /usr/lib/modules/$_kernver/build \
-			SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
-			EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
-			modules
-}
-
-package() {
-	cd "$_pkgname-$pkgver"
-	install -Dm644 src/$_pkgname.ko "$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
-	find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
-}
-
-sha256sums=('06aa1c6a58a878450798100eb5f9c3d87763c5f41e99b7d5f3b2fe78646d02b0')

Copied: r8168-lts/repos/community-x86_64/PKGBUILD (from rev 106910, r8168-lts/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-03-10 08:42:10 UTC (rev 106911)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.038.00
+pkgrel=1
+pkgdesc="A kernel module for Realtek 8168 network cards for linux-lts"
+url="http://www.realtek.com.tw"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('glibc' "linux-lts>=3.10" "linux-lts<3.11")
+makedepends=("linux-lts-headers>=3.10" "linux-lts-headers<3.11")
+source=("https://dl.dropboxusercontent.com/u/362439/archlinux/r8168-$pkgver.tar.bz2")
+install=$pkgname.install
+
+_extramodules=extramodules-3.10-lts
+
+build() {
+	cd "$_pkgname-$pkgver"
+	local _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+	make -C /usr/lib/modules/$_kernver/build \
+			SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+			EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+			modules
+}
+
+package() {
+	cd "$_pkgname-$pkgver"
+	install -Dm644 src/$_pkgname.ko "$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+	find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}
+
+sha256sums=('1384bdf4d33b219f937bf1a600c72b22962baf7796e562b08e4da3c000f49072')

Deleted: community-x86_64/linux-3.10.patch
===================================================================
--- community-x86_64/linux-3.10.patch	2014-03-10 08:38:45 UTC (rev 106910)
+++ community-x86_64/linux-3.10.patch	2014-03-10 08:42:10 UTC (rev 106911)
@@ -1,59 +0,0 @@
---- src/r8168_n.c.orig	2013-07-02 14:20:27.355887286 +0200
-+++ src/r8168_n.c	2013-07-02 14:24:25.302573010 +0200
-@@ -52,6 +52,10 @@
- #include <linux/init.h>
- #include <linux/rtnetlink.h>
- 
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+#include <linux/if_ether.h>
-+#endif
-+
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
- #include <linux/pci-aspm.h>
- #endif
-@@ -2232,6 +2236,9 @@
-                                swab16(opts2 & 0xffff));
-         ret = 0;
-     }
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+	if (opts2 & RxVlanTag)
-+		__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff));
- #else
-     if (opts2 & RxVlanTag)
-         __vlan_hwaccel_put_tag(skb, swab16(opts2 & 0xffff));
-@@ -2295,7 +2302,11 @@
-     else
-         tp->cp_cmd &= ~RxChkSum;
- 
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+	if (dev->features & NETIF_F_HW_VLAN_CTAG_RX)
-+#else
-     if (dev->features & NETIF_F_HW_VLAN_RX)
-+#endif
-         tp->cp_cmd |= RxVlan;
-     else
-         tp->cp_cmd &= ~RxVlan;
-@@ -16195,7 +16206,11 @@
- 
- #ifdef CONFIG_R8168_VLAN
-     if (tp->mcfg != CFG_METHOD_DEFAULT) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+		dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
-+#else
-         dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
-+#endif
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
-         dev->vlan_rx_kill_vid = rtl8168_vlan_rx_kill_vid;
- #endif //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
-@@ -16210,7 +16225,11 @@
- #else
-         dev->features |= NETIF_F_RXCSUM;
-         dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
-+                           NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
-+#else
-                            NETIF_F_RXCSUM | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
-+#endif
-         dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
-                              NETIF_F_HIGHDMA;
- #endif

Copied: r8168-lts/repos/community-x86_64/linux-3.10.patch (from rev 106910, r8168-lts/trunk/linux-3.10.patch)
===================================================================
--- community-x86_64/linux-3.10.patch	                        (rev 0)
+++ community-x86_64/linux-3.10.patch	2014-03-10 08:42:10 UTC (rev 106911)
@@ -0,0 +1,59 @@
+--- src/r8168_n.c.orig	2013-07-02 14:20:27.355887286 +0200
++++ src/r8168_n.c	2013-07-02 14:24:25.302573010 +0200
+@@ -52,6 +52,10 @@
+ #include <linux/init.h>
+ #include <linux/rtnetlink.h>
+ 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++#include <linux/if_ether.h>
++#endif
++
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
+ #include <linux/pci-aspm.h>
+ #endif
+@@ -2232,6 +2236,9 @@
+                                swab16(opts2 & 0xffff));
+         ret = 0;
+     }
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++	if (opts2 & RxVlanTag)
++		__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff));
+ #else
+     if (opts2 & RxVlanTag)
+         __vlan_hwaccel_put_tag(skb, swab16(opts2 & 0xffff));
+@@ -2295,7 +2302,11 @@
+     else
+         tp->cp_cmd &= ~RxChkSum;
+ 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++	if (dev->features & NETIF_F_HW_VLAN_CTAG_RX)
++#else
+     if (dev->features & NETIF_F_HW_VLAN_RX)
++#endif
+         tp->cp_cmd |= RxVlan;
+     else
+         tp->cp_cmd &= ~RxVlan;
+@@ -16195,7 +16206,11 @@
+ 
+ #ifdef CONFIG_R8168_VLAN
+     if (tp->mcfg != CFG_METHOD_DEFAULT) {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++		dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
++#else
+         dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
++#endif
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+         dev->vlan_rx_kill_vid = rtl8168_vlan_rx_kill_vid;
+ #endif //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+@@ -16210,7 +16225,11 @@
+ #else
+         dev->features |= NETIF_F_RXCSUM;
+         dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
++                           NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
++#else
+                            NETIF_F_RXCSUM | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
++#endif
+         dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
+                              NETIF_F_HIGHDMA;
+ #endif

Deleted: community-x86_64/r8168-lts.install
===================================================================
--- community-x86_64/r8168-lts.install	2014-03-10 08:38:45 UTC (rev 106910)
+++ community-x86_64/r8168-lts.install	2014-03-10 08:42:10 UTC (rev 106911)
@@ -1,17 +0,0 @@
-rebuild_module_dependencies() {
-	EXTRAMODULES='extramodules-3.10-lts'
-	depmod $(cat /lib/modules/$EXTRAMODULES/version)
-}
-
-post_install() {
-  rebuild_module_dependencies
-	echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:'
-	echo '>>>  `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`'
-}
-post_upgrade() {
-	rebuild_module_dependencies
-}
-
-post_remove() {
-	rebuild_module_dependencies
-}

Copied: r8168-lts/repos/community-x86_64/r8168-lts.install (from rev 106910, r8168-lts/trunk/r8168-lts.install)
===================================================================
--- community-x86_64/r8168-lts.install	                        (rev 0)
+++ community-x86_64/r8168-lts.install	2014-03-10 08:42:10 UTC (rev 106911)
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+	EXTRAMODULES='extramodules-3.10-lts'
+	depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+  rebuild_module_dependencies
+	echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:'
+	echo '>>>  `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`'
+}
+post_upgrade() {
+	rebuild_module_dependencies
+}
+
+post_remove() {
+	rebuild_module_dependencies
+}




More information about the arch-commits mailing list