* [gentoo-commits] gentoo-x86 commit in net-misc/r8168/files: r8168-8.039.00-linux-4-compat.patch
@ 2015-04-16 22:48 James Le Cuirot (chewi)
0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot (chewi) @ 2015-04-16 22:48 UTC (permalink / raw
To: gentoo-commits
chewi 15/04/16 22:48:37
Added: r8168-8.039.00-linux-4-compat.patch
Log:
Fix building against Linux 4. Not sure if he wrote it but thanks to
Massimiliano Torromeo at Arch for the patch. Closes bug #546564.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)
Revision Changes Path
1.1 net-misc/r8168/files/r8168-8.039.00-linux-4-compat.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/files/r8168-8.039.00-linux-4-compat.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/r8168/files/r8168-8.039.00-linux-4-compat.patch?rev=1.1&content-type=text/plain
Index: r8168-8.039.00-linux-4-compat.patch
===================================================================
diff --git a/src/r8168_n.c b/src/r8168_n.c
index 9d6f231..c4200d0 100755
--- a/src/r8168_n.c
+++ b/src/r8168_n.c
@@ -3291,6 +3291,9 @@ rtl8168_tx_vlan_tag(struct rtl8168_private *tp,
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
tag = (tp->vlgrp && vlan_tx_tag_present(skb)) ?
TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00;
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,0,0)
+ tag = (skb_vlan_tag_present(skb)) ?
+ TxVlanTag | swab16(skb_vlan_tag_get(skb)) : 0x00;
#else
tag = (vlan_tx_tag_present(skb)) ?
TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/r8168/files: r8168-8.039.00-linux-4-compat.patch
@ 2015-07-19 9:20 James Le Cuirot (chewi)
0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot (chewi) @ 2015-07-19 9:20 UTC (permalink / raw
To: gentoo-commits
chewi 15/07/19 09:20:51
Removed: r8168-8.039.00-linux-4-compat.patch
Log:
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-19 9:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-19 9:20 [gentoo-commits] gentoo-x86 commit in net-misc/r8168/files: r8168-8.039.00-linux-4-compat.patch James Le Cuirot (chewi)
-- strict thread matches above, loose matches on Subject: below --
2015-04-16 22:48 James Le Cuirot (chewi)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox