Overview

Request 4597 (superseded)

- Update to new version 8.047.04

- Update to new version 8.047.01

Submit package home:bitstreamout:Essentials / r8168 to package Essentials / r8168

r8168.changes Changed
x
 
1
@@ -1,146 +1,4 @@
2
 -------------------------------------------------------------------
3
-Mon Nov 25 10:11:50 UTC 2024 - Dr. Werner Fink <werner@suse.de>
4
-
5
-- Make it build below SLE-15-SP7 even if kernel version 6.4
6
-  includes a feature for ethtool from kernel version 6.9
7
-
8
--------------------------------------------------------------------
9
-Tue May 21 10:35:10 UTC 2024 - Dr. Werner Fink <werner@suse.de>
10
-
11
-- Update to new version r8168-8.053.00
12
-- Remove patches now upstream
13
-  * r8168-gcc14.patch
14
-- Port patches
15
-  * r8168-kernel_version.patch
16
-  * r8168-support-dev0x8136.patch
17
-  * r8168-support-linux-5.19.patch
18
-- Add patch r8168-support-ethtool_keee.patch
19
-  * Port struct ethtool_eee to new kernel struct ethtool_eee
20
-    and hopefully this works
21
-
22
--------------------------------------------------------------------
23
-Thu Mar 28 12:50:15 UTC 2024 - Dr. Werner Fink <werner@suse.de>
24
-
25
-- Use kernel version of the include diretory instead of the used
26
-  kernel
27
-
28
--------------------------------------------------------------------
29
-Wed Mar 13 12:12:43 UTC 2024 - Dr. Werner Fink <werner@suse.de>
30
-
31
-- Update to new version r8168-8.052.01
32
-- Remove patches now upstream
33
-  * skb_gso_segment.patch
34
-  * r8168-support-linux-6.1.0.patch
35
-- Port patches
36
-  * r8168-configuration.patch
37
-  * r8168-kernel_version.patch
38
-  * r8168-support-dev0x8136.patch
39
-  * r8168-support-linux-5.19.patch
40
-  * r8168-support-linux-L15.5.patch
41
-- Add r8168.keyring and signature of tar ball to check tar ball
42
-- Add patch r8168-gcc14.patch
43
-  * Avoid gcc14 trouble
44
-  * Switch from deprecated strlcpy() to strscpy()
45
-
46
--------------------------------------------------------------------
47
-Wed Mar 13 11:26:04 UTC 2024 - Dr. Werner Fink <werner@suse.de>
48
-
49
-- Use %patch -P N instead of deprecated %patchN. 
50
-
51
--------------------------------------------------------------------
52
-Thu Oct 19 08:29:04 UTC 2023 - Dr. Werner Fink <werner@suse.de>
53
-
54
-- Dynamic adaption of patch skb_gso_segment.patch means if net/gso.h
55
-  exists correct kernel version check
56
-
57
--------------------------------------------------------------------
58
-Mon Aug 14 11:23:04 UTC 2023 - https://www.suse.com/
59
-
60
-- Add patch skb_gso_segment.patch to make it build with latest 6.4 
61
-
62
--------------------------------------------------------------------
63
-Wed May 10 10:55:42 UTC 2023 - https://www.suse.com/
64
-
65
-- For Leap 15.5 the kernel 5.14.0 behaves like a 5.17.0 at ethtool.h 
66
-
67
--------------------------------------------------------------------
68
-Wed Dec 14 13:42:47 UTC 2022 - Dr. Werner Fink <werner@suse.de>
69
-
70
-- Update to new version r8168-8.051.02
71
-- Delete patch r8168-kernel_5.18.patch now upstream
72
-- Add patch r8168-support-linux-6.1.0.patch
73
-- Add patch r8168-support-dev0x8136.patch to support
74
-  Realtek Semiconductor Co.,
75
-  Ltd. RTL810xE PCI Express Fast Ethernet controller 10ec:8136 (rev 05)
76
-
77
--------------------------------------------------------------------
78
-Tue Dec  6 11:31:36 UTC 2022 - Werner Fink <werner.fink@opensuse.org>
79
-
80
-- Switch over to build require %kernel_module_package_buildreqs macro
81
-
82
--------------------------------------------------------------------
83
-Mon Dec  5 12:38:33 UTC 2022 - Dr. Werner Fink <werner@suse.de>
84
-
85
-- Also pre require suse-module-tools-scriptlets 
86
-
87
--------------------------------------------------------------------
88
-Fri Dec  2 12:26:02 UTC 2022 - Dr. Werner Fink <werner@suse.de>
89
-
90
-- Pre require suse-module-tools 
91
-
92
--------------------------------------------------------------------
93
-Fri Aug  5 13:40:01 UTC 2022 - Dr. Werner Fink <werner@suse.de>
94
-
95
-- Update to new version 8.050.03
96
-- Add patch r8168-support-linux-5.19.patch to get it build with 5.19
97
-
98
--------------------------------------------------------------------
99
-Tue May 24 09:09:05 UTC 2022 - Dr. Werner Fink <werner@suse.de>
100
-
101
-- Add upstream patch r8168-kernel_5.18.patch
102
-  * Make it build with kernel 5.18+ 
103
-
104
--------------------------------------------------------------------
105
-Tue May 10 10:30:35 UTC 2022 - Werner Fink <werner@suse.de>
106
-
107
-- Update to new version 8.050.00
108
-- Port patches r8168-kernel_version.patch and r8168-configuration.patch
109
-
110
--------------------------------------------------------------------
111
-Thu Jan 21 15:49:06 UTC 2021 - Werner Fink <werner@suse.de>
112
-
113
-- Now we change to github for basic download 
114
-- Configure exisxtence of linux/pci-aspm.h on the fly
115
-
116
--------------------------------------------------------------------
117
-Tue Jun  2 07:17:12 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
118
-
119
-- Update to version 8.048.03
120
-- Drop 83b957b4.patch (fixed upstream)
121
-
122
--------------------------------------------------------------------
123
-Tue Mar 31 06:40:50 UTC 2020 - Werner Fink <werner@suse.de>
124
-
125
-- Add patch 83b957b4.patch to get it build for kernel 5.6 
126
-
127
--------------------------------------------------------------------
128
-Mon Feb 10 11:38:00 UTC 2020 - Werner Fink <werner@suse.de>
129
-
130
-- Update to new version 8.048.00 
131
-- Modify patch r8168-kernel_version.patch as upstream now supports 5.4
132
-
133
--------------------------------------------------------------------
134
-Tue Nov 26 10:08:11 UTC 2019 - Werner Fink <werner@suse.de>
135
-
136
-- Update to new version 8.047.05
137
-- Modify patch r8168-kernel_version.patch to let it build with 5.4
138
-
139
--------------------------------------------------------------------
140
-Thu Oct 24 05:49:20 UTC 2019 - Werner Fink <werner@suse.de>
141
-
142
-- (Re)add #!BuildIgnore: enough-build-resources 
143
-
144
--------------------------------------------------------------------
145
 Tue Oct 22 06:36:13 UTC 2019 - Werner Fink <werner@suse.de>
146
 
147
 - Update to new version 8.047.04
148
r8168.spec Changed
95
 
1
@@ -16,30 +16,25 @@
2
 # Please submit bugfixes or comments via https://bugs.links2linux.org/
3
 #
4
 
5
-#!BuildIgnore: enough-build-resources
6
+
7
 Name:           r8168
8
-Version:        8.053.00
9
+Version:        8.047.04
10
 Release:        0
11
 Summary:        Device driver for RealTek Gigabit Ethernet controllers
12
 License:        GPL-2.0-or-later
13
 Group:          System/Kernel
14
-URL:            https://github.com/mtorromeo/r8168
15
-Source0:        https://github.com/mtorromeo/r8168/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
16
+# Compare with https://github.com/mtorromeo/r8168 and
17
+# http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#2
18
+URL:            https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
19
+Source0:        %{name}-%{version}.tar.bz2
20
 Source1:        preamble
21
 Source2:        Module.supported
22
-Source3:        https://github.com/mtorromeo/r8168/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
23
-Source4:        r8168.keyring
24
 Patch0:         r8168-kernel_version.patch
25
 Patch1:         r8168-configuration.patch
26
-Patch2:         r8168-support-linux-5.19.patch
27
-Patch3:         r8168-support-ethtool_keee.patch
28
-Patch4:         r8168-support-dev0x8136.patch
29
-Patch5:         r8168-support-linux-L15.5.patch
30
 BuildRequires:  kernel-source
31
 BuildRequires:  kernel-syms
32
 BuildRequires:  libelf-devel
33
 BuildRequires:  module-init-tools
34
-BuildRequires:  %kernel_module_package_buildreqs
35
 Requires:       r8168-kmp
36
 ExclusiveArch:  %{ix86} x86_64
37
 %kernel_module_package -p preamble
38
@@ -61,53 +56,20 @@
39
 blacklisted to enable the system to load the new device driver r8168.
40
 
41
 %prep
42
-version=$(readlink /usr/src/linux | sed -r 's/linux-//;s/-.*//;s/\./,/g')
43
- "$version" =~ 0-9+,0-9+,0-9+  || \
44
-version=$(uname -r|sed -r 's/-.*//;s/\./,/g')
45
 %setup -q
46
-%patch -P 0 -b .p0
47
-%patch -P 1 -b .p1
48
-%patch -P 2 -p1 -b .p2
49
-%patch -P 4 -p1 -b .p4
50
-if test -e /usr/src/linux/include/linux/ethtool.h
51
-then
52
-    argc=$(sed -rn '/\*get_ringparam/,/;$/p' /usr/src/linux/include/linux/ethtool.h | wc -l)
53
-    if test -n "$argc" -a "$argc" -eq 4
54
-    then
55
-%patch -P 5 -b .p5
56
-    fi
57
-    argc=$(sed -rn '/ethtool_keee/p' /usr/src/linux/include/linux/ethtool.h | wc -l)
58
-    if test -n "$argc" -a "$argc" -eq 3
59
-    then
60
-%patch -P 3 -p1 -b .p3
61
-   sed -ri "/KERNEL_VERSION/{s/\(6,9,0\)/(${version})/}" src/r8168_n.c
62
-    fi
63
-fi
64
-if test -e /usr/src/linux/include/net/gso.h
65
-then
66
-    sed -ri "/KERNEL_VERSION/{s/\(6,4,10\)/(${version})/}" src/r8168_n.c
67
-fi
68
+%patch0 -b .p0
69
+%patch1 -b .p1
70
 cp %{S:1} .
71
 cp %{S:2} .
72
 
73
 %build
74
-#
75
-# SUSE kernel does include some patches/commits which do not increase
76
-# the kernel's version, there we test here if the linux/pci-acpi.h exits
77
-#
78
-if test -e /usr/src/linux/include/linux/pci-aspm.h
79
-then
80
-    sed -ri '/#define HAS_PCI_ASPM_H/{ s/@ASPM@/1/ }' src/r8168_n.c
81
-else
82
-    sed -ri '/#define HAS_PCI_ASPM_H/{ s/@ASPM@/0/ }' src/r8168_n.c
83
-fi
84
 ln -sf $(type -p kmod) modinfo
85
 mkdir obj
86
 for flavor in %{flavors_to_build}
87
 do
88
     rm   -rf obj/$flavor
89
     cp   -rp src obj/$flavor
90
-    make V=1 -C %{kernel_source $flavor} M=$PWD/obj/$flavor modules
91
+    make -C %{kernel_source $flavor} M=$PWD/obj/$flavor modules
92
     ./modinfo -F alias $(find $PWD/obj/$flavor/ -name '%{name}.ko')
93
 done
94
 
95
r8168-configuration.patch Changed
12
 
1
@@ -3,8 +3,8 @@
2
  1 file changed, 1 insertion(+)
3
 
4
 --- src/Makefile
5
-+++ src/Makefile   2022-05-10 10:26:59.851240712 +0000
6
-@@ -52,6 +52,7 @@ CONFIG_CTAP_SHORT_OFF = n
7
++++ src/Makefile   2018-01-10 14:35:59.981468278 +0000
8
+@@ -44,6 +44,7 @@ ENABLE_S0_MAGIC_PACKET = n
9
  ifneq ($(KERNELRELEASE),)
10
    obj-m := r8168.o
11
    r8168-objs := r8168_n.o r8168_asf.o rtl_eeprom.o rtltool.o
12
r8168-kernel_version.patch Changed
80
 
1
@@ -1,11 +1,11 @@
2
 ---
3
  src/r8168.h   |    4 ++++
4
- src/r8168_n.c |   15 ++++++++++++++-
5
- 2 files changed, 18 insertions(+), 1 deletion(-)
6
+ src/r8168_n.c |    2 +-
7
+ 2 files changed, 5 insertions(+), 1 deletion(-)
8
 
9
 --- src/r8168.h
10
-+++ src/r8168.h    2024-03-13 11:51:59.011947503 +0000
11
-@@ -196,6 +196,10 @@ do { \
12
++++ src/r8168.h    2018-01-10 14:30:36.443694357 +0000
13
+@@ -116,6 +116,10 @@ do { \
14
  } while (0)
15
  #endif //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
16
  
17
@@ -17,56 +17,13 @@
18
  #if defined(skb_vlan_tag_present) && !defined(vlan_tx_tag_present)
19
  #define vlan_tx_tag_present skb_vlan_tag_present
20
 --- src/r8168_n.c
21
-+++ src/r8168_n.c  2024-03-13 11:57:02.890342590 +0000
22
-@@ -61,11 +61,16 @@
23
- #include <linux/rtnetlink.h>
24
- #include <linux/completion.h>
25
++++ src/r8168_n.c  2018-01-10 14:33:25.348444039 +0000
26
+@@ -28476,7 +28476,7 @@ process_pkt:
27
  
28
-+#ifndef HAS_PCI_ASPM_H
29
-+#define HAS_PCI_ASPM_H @ASPM@
30
-+#endif
31
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
32
- #if LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0)
33
-+#if HAS_PCI_ASPM_H
34
- #include <linux/pci-aspm.h>
35
- #endif
36
- #endif
37
-+#endif
38
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,37)
39
- #include <linux/prefetch.h>
40
- #endif
41
-@@ -586,8 +591,12 @@ static void rtl8168_set_rx_mode(struct n
42
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
43
- static void rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue);
44
- #else
45
-+#if !HAS_PCI_ASPM_H
46
-+static void rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue);
47
-+#else
48
- static void rtl8168_tx_timeout(struct net_device *dev);
49
- #endif
50
-+#endif
51
- static struct net_device_stats *rtl8168_get_stats(struct net_device *dev);
52
- static int rtl8168_rx_interrupt(struct net_device *, struct rtl8168_private *, struct rtl8168_rx_ring *, napi_budget);
53
- #ifdef CONFIG_R8168_NAPI
54
-@@ -30897,8 +30906,12 @@ static void
55
- rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue)
56
- #else
57
- static void
58
-+#if !HAS_PCI_ASPM_H
59
-+rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue)
60
-+#else
61
- rtl8168_tx_timeout(struct net_device *dev)
62
- #endif
63
-+#endif
64
- {
65
-         struct rtl8168_private *tp = netdev_priv(dev);
66
- 
67
-@@ -31636,7 +31649,7 @@ rtl8168_rx_interrupt(struct net_device *
68
- 
69
-                 if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
70
-                         rtl8168_rx_skb(tp, skb, ring_index);
71
+                         if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
72
+                                 rtl8168_rx_skb(tp, skb);
73
 -#if LINUX_VERSION_CODE < KERNEL_VERSION(4,11,0)
74
 +#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
75
-                 dev->last_rx = jiffies;
76
+                         dev->last_rx = jiffies;
77
  #endif //LINUX_VERSION_CODE < KERNEL_VERSION(4,11,0)
78
-                 RTLDEV->stats.rx_bytes += pkt_size;
79
+                         RTLDEV->stats.rx_bytes += pkt_size;
80
r8168-support-dev0x8136.patch Deleted
24
 
1
@@ -1,22 +0,0 @@
2
-From b6e3225a3c9f3aa7b218f1c31a6666e3026092ca Mon Sep 17 00:00:00 2001
3
-From: M4rQu1Nh0S <blogmrcs@gmail.com>
4
-Date: Thu, 12 May 2022 11:32:17 -0300
5
-Subject: PATCH Add files via upload
6
-
7
-Added Device ID 10ec:8136 (0x8136)
8
----
9
- src/r8168_n.c | 1 +
10
- 1 file changed, 1 insertion(+)
11
-
12
-diff --git a/src/r8168_n.c b/src/r8168_n.c
13
-index 28d7636..cbf43d1 100755
14
---- a/src/r8168_n.c
15
-+++ b/src/r8168_n.c
16
-@@ -426,6 +426,7 @@ static const struct {
17
- 
18
- static struct pci_device_id rtl8168_pci_tbl = {
19
-         { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8168), },
20
-+        { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8136), },
21
-         { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8161), },
22
-         { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x2502), },
23
-         { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x2600), },
24
r8168-support-ethtool_keee.patch Deleted
121
 
1
@@ -1,119 +0,0 @@
2
-From 94426e16197c244d03aad0434e3490acdaa830fe Mon Sep 17 00:00:00 2001
3
-From: Masato TOYOSHIMA <phoepsilonix@phoepsilonix.love>
4
-Date: Tue, 14 May 2024 14:52:58 +0900
5
-Subject: PATCH Linux 6.9 compat: change to ethtool_keee from ethtool_eee
6
-
7
-linux/include/linux/ethtool.h
8
-
9
-struct ethtool_ops
10
-    int (*get_eee)(struct net_device *dev, struct ethtool_keee *eee);
11
-    int (*set_eee)(struct net_device *dev, struct ethtool_keee *eee);
12
-
13
-change to ethtool_keee from ethtool_eee
14
-    rtl_ethtool_get_eee(struct net_device *net, struct ethtool_keee *edata)
15
-    rtl_ethtool_set_eee(struct net_device *net, struct ethtool_keee *edata)
16
----
17
- src/r8168_n.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
18
- 1 file changed, 44 insertions(+)
19
-
20
-diff --git a/src/r8168_n.c b/src/r8168_n.c
21
-index ad63f42..3d67641 100755
22
---- a/src/r8168_n.c
23
-+++ b/src/r8168_n.c
24
-@@ -7941,7 +7941,11 @@ rtl8168_device_lpi_t_to_ethtool_lpi_t(struct rtl8168_private *tp , u32 lpi_timer
25
- }
26
- 
27
- static int
28
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,9,0)
29
-+rtl_ethtool_get_eee(struct net_device *net, struct ethtool_keee *edata)
30
-+#else
31
- rtl_ethtool_get_eee(struct net_device *net, struct ethtool_eee *edata)
32
-+#endif
33
- {
34
-         struct rtl8168_private *tp = netdev_priv(net);
35
-         struct ethtool_eee *eee = &tp->eee;
36
-@@ -7975,9 +7979,15 @@ rtl_ethtool_get_eee(struct net_device *net, struct ethtool_eee *edata)
37
- 
38
-         edata->eee_enabled = !!val;
39
-         edata->eee_active = !!(supported & adv & lp);
40
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,9,0)
41
-+        ethtool_convert_legacy_u32_to_link_mode(edata->supported, supported);
42
-+        ethtool_convert_legacy_u32_to_link_mode(edata->advertised, adv);
43
-+        ethtool_convert_legacy_u32_to_link_mode(edata->lp_advertised, lp);
44
-+#else
45
-         edata->supported = supported;
46
-         edata->advertised = adv;
47
-         edata->lp_advertised = lp;
48
-+#endif
49
-         edata->tx_lpi_enabled = edata->eee_enabled;
50
-         edata->tx_lpi_timer = tx_lpi_timer;
51
- 
52
-@@ -7985,11 +7995,19 @@ rtl_ethtool_get_eee(struct net_device *net, struct ethtool_eee *edata)
53
- }
54
- 
55
- static int
56
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,9,0)
57
-+rtl_ethtool_set_eee(struct net_device *net, struct ethtool_keee *edata)
58
-+#else
59
- rtl_ethtool_set_eee(struct net_device *net, struct ethtool_eee *edata)
60
-+#endif
61
- {
62
-         struct rtl8168_private *tp = netdev_priv(net);
63
-         struct ethtool_eee *eee = &tp->eee;
64
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,9,0)
65
-+        u32 advertising, adv;
66
-+#else
67
-         u32 advertising;
68
-+#endif
69
-         int rc = 0;
70
- 
71
-         if (!rtl8168_support_eee(tp))
72
-@@ -8013,6 +8031,18 @@ rtl_ethtool_set_eee(struct net_device *net, struct ethtool_eee *edata)
73
-         }
74
- 
75
-         advertising = tp->advertising;
76
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,9,0)
77
-+        ethtool_convert_link_mode_to_legacy_u32(&adv, edata->advertised);
78
-+        if (linkmode_empty(edata->advertised)) {
79
-+                adv = advertising & eee->supported;
80
-+                ethtool_convert_legacy_u32_to_link_mode(edata->advertised, adv);
81
-+        } else if (!linkmode_empty(edata->advertised) & ~advertising) {
82
-+                dev_printk(KERN_WARNING, tp_to_dev(tp), "EEE advertised %x must be a subset of autoneg advertised speeds %x\n",
83
-+                           adv, advertising);
84
-+                rc = -EINVAL;
85
-+                goto out;
86
-+        }
87
-+#else
88
-         if (!edata->advertised) {
89
-                 edata->advertised = advertising & eee->supported;
90
-         } else if (edata->advertised & ~advertising) {
91
-@@ -8021,15 +8051,29 @@ rtl_ethtool_set_eee(struct net_device *net, struct ethtool_eee *edata)
92
-                 rc = -EINVAL;
93
-                 goto out;
94
-         }
95
-+#endif
96
- 
97
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,9,0)
98
-+        if (!linkmode_empty(edata->advertised) & ~eee->supported) {
99
-+                dev_printk(KERN_WARNING, tp_to_dev(tp), "EEE advertised %x must be a subset of support %x\n",
100
-+                           adv, eee->supported);
101
-+                rc = -EINVAL;
102
-+                goto out;
103
-+        }
104
-+#else
105
-         if (edata->advertised & ~eee->supported) {
106
-                 dev_printk(KERN_WARNING, tp_to_dev(tp), "EEE advertised %x must be a subset of support %x\n",
107
-                            edata->advertised, eee->supported);
108
-                 rc = -EINVAL;
109
-                 goto out;
110
-         }
111
-+#endif
112
- 
113
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,9,0)
114
-+        ethtool_convert_link_mode_to_legacy_u32(&eee->advertised, edata->advertised);
115
-+#else
116
-         eee->advertised = edata->advertised;
117
-+#endif
118
-         eee->eee_enabled = edata->eee_enabled;
119
- 
120
-         if (eee->eee_enabled)
121
r8168-support-linux-5.19.patch Deleted
24
 
1
@@ -1,22 +0,0 @@
2
----
3
- r8168-8.053.00/src/r8168_n.c |    9 +++++++++
4
- 1 file changed, 9 insertions(+)
5
-
6
---- r8168-8.053.00/src/r8168_n.c
7
-+++ r8168-8.053.00/src/r8168_n.c   2024-05-21 09:57:57.192604776 +0000
8
-@@ -126,6 +126,15 @@
9
- #define FIRMWARE_8168FP_3   "rtl_nic/rtl8168fp-3.fw"
10
- #define FIRMWARE_8168FP_4   "rtl_nic/rtl8168fp-4.fw"
11
- 
12
-+#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 18, 0)
13
-+static inline void netif_set_gso_max_size(struct net_device *dev,
14
-+                                          unsigned int size)
15
-+{
16
-+        /* dev->gso_max_size is read locklessly from sk_setup_caps() */
17
-+        WRITE_ONCE(dev->gso_max_size, size);
18
-+}
19
-+#endif
20
-+
21
- static const struct {
22
-         const char *name;
23
-         const char *fw_name;
24
r8168-support-linux-L15.5.patch Deleted
58
 
1
@@ -1,56 +0,0 @@
2
----
3
- src/r8168_n.c |   12 ++++++------
4
- 1 file changed, 6 insertions(+), 6 deletions(-)
5
-
6
---- src/r8168_n.c
7
-+++ src/r8168_n.c  2024-03-13 12:10:07.947820999 +0000
8
-@@ -7234,7 +7234,7 @@ rtl8168_set_ring_size(struct rtl8168_pri
9
- }
10
- 
11
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
12
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
13
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)
14
- static void rtl8168_get_ringparam(struct net_device *dev,
15
-                                   struct ethtool_ringparam *ring,
16
-                                   struct kernel_ethtool_ringparam *kernel_ring,
17
-@@ -7242,7 +7242,7 @@ static void rtl8168_get_ringparam(struct
18
- #else
19
- static void rtl8168_get_ringparam(struct net_device *dev,
20
-                                   struct ethtool_ringparam *ring)
21
--#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
22
-+#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)
23
- {
24
-         struct rtl8168_private *tp = netdev_priv(dev);
25
- 
26
-@@ -7252,7 +7252,7 @@ static void rtl8168_get_ringparam(struct
27
-         ring->tx_pending = tp->tx_ring0.num_tx_desc;
28
- }
29
- 
30
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
31
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)
32
- static int rtl8168_set_ringparam(struct net_device *dev,
33
-                                  struct ethtool_ringparam *ring,
34
-                                  struct kernel_ethtool_ringparam *kernel_ring,
35
-@@ -7260,7 +7260,7 @@ static int rtl8168_set_ringparam(struct
36
- #else
37
- static int rtl8168_set_ringparam(struct net_device *dev,
38
-                                  struct ethtool_ringparam *ring)
39
--#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
40
-+#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)
41
- {
42
-         struct rtl8168_private *tp = netdev_priv(dev);
43
-         u32 new_rx_count, new_tx_count;
44
-@@ -26737,11 +26737,11 @@ rtl8168_release_board(struct pci_dev *pd
45
- static void
46
- rtl8168_hw_address_set(struct net_device *dev, u8 mac_addrMAC_ADDR_LEN)
47
- {
48
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
49
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)
50
-         eth_hw_addr_set(dev, mac_addr);
51
- #else
52
-         memcpy(dev->dev_addr, mac_addr, MAC_ADDR_LEN);
53
--#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
54
-+#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)
55
- }
56
- 
57
- static int
58
r8168-8.053.00.tar.gz -> r8168-8.047.04.tar.bz2 Changed
r8168-8.053.00.tar.gz.asc Deleted
9
 
1
@@ -1,7 +0,0 @@
2
------BEGIN PGP SIGNATURE-----
3
-
4
-iHUEABYKAB0WIQQMrarPcPZMZU4TGzERZ1x0NCnd7wUCZiUOBgAKCRARZ1x0NCnd
5
-7zwaAP9/wR9UAKCbpYCVY4a527hxVnKbIskev0+SNUa++NYyKAD+KCZaGOKSVUOF
6
-AUqJsVPNzKZkPn162vhgkJH9EOfBmQ0=
7
-=DNig
8
------END PGP SIGNATURE-----
9
r8168.keyring Deleted
21
 
1
@@ -1,19 +0,0 @@
2
------BEGIN PGP PUBLIC KEY BLOCK-----
3
-
4
-mDMEWjorXBYJKwYBBAHaRw8BAQdAjGKRKfCsgqRDija1BdhFQyhl7v8ooFB9n0+B
5
-fFFwIUq0N01hc3NpbWlsaWFubyBUb3Jyb21lbyA8bWFzc2ltaWxpYW5vLnRvcnJv
6
-bWVvQGdtYWlsLmNvbT6I0AQTFggAeAIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIX
7
-gAUJEJ7XDhYhBAytqs9w9kxlThMbMRFnXHQ0Kd3vBQJjhKA5ORSAAAAAABAAIHBy
8
-b29mQGFyaWFkbmUuaWRodHRwczovL2Zvc3N0b2Rvbi5vcmcvQG10b3Jyb21lbwAK
9
-CRARZ1x0NCnd74sYAP9cd+GQFHYUdC8h5rinC8zlLfCSRmK4RmpynORvNUoHlwD/
10
-VHc1QKQygGJHkGUR/BzBwhvy9V8VFUXLHEkix/5EAgy4MwRaOiyTFgkrBgEEAdpH
11
-DwEBB0ALDo3UpmTEMnSfibzebWay/yHw5PQ3M6dikohuznLdD4h+BBgWCAAmAhsg
12
-FiEEDK2qz3D2TGVOExsxEWdcdDQp3e8FAmFzE3sFCRCe6GgACgkQEWdcdDQp3e+l
13
-MgEAqNJOWIvlmwvgDUnM49o9Xy+ev0ApfCcpd+M9Viv3HmwA/RFNVLW5Q3ClhUPd
14
-RHRSgOI/txQSMCX24h1R4g5Ck3kPuDgEWjorXBIKKwYBBAGXVQEFAQEHQG8U6zt8
15
-dY35U3jMoulSJrEfc2IawNGNum7hdNwGarUhAwEIB4h+BBgWCAAmAhsMFiEEDK2q
16
-z3D2TGVOExsxEWdcdDQp3e8FAmFzE3sFCRCe6Z8ACgkQEWdcdDQp3e/FnQD/ROjp
17
-SAtLo4A2PbQ9Awk4V/dW2iSGXT+c946xwd6v+toA/R3VhNaxQpVjqpwLYYhV2T+E
18
-8i1/tU0JWRZh4/DUvY0P
19
-=mnMt
20
------END PGP PUBLIC KEY BLOCK-----
21
Request History
bitstreamout's avatar

bitstreamout created request over 5 years ago

- Update to new version 8.047.04

- Update to new version 8.047.01


Olaf Hering's avatar

olh declined request over 5 years ago

this pkg will do nothing without enough-build-resources for Kernel:Stable / Factory