Projects
home:bitstreamout:Essentials
r8168
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 22
View file
r8168.changes
Changed
@@ -2,6 +2,7 @@ Fri Aug 5 13:40:01 UTC 2022 - Dr. Werner Fink <werner@suse.de> - Update to new version 8.050.03 +- Add patch r8168-support-linux-5.19.patch to get it build with 5.19 ------------------------------------------------------------------- Tue May 24 09:09:05 UTC 2022 - Dr. Werner Fink <werner@suse.de>
View file
r8168.spec
Changed
@@ -30,6 +30,7 @@ Patch0: r8168-kernel_version.patch Patch1: r8168-configuration.patch Patch2: r8168-kernel_5.18.patch +Patch3: r8168-support-linux-5.19.patch BuildRequires: kernel-source BuildRequires: kernel-syms BuildRequires: libelf-devel @@ -59,6 +60,7 @@ %patch0 -b .p0 %patch1 -b .p1 %patch2 -b .p2 +%patch3 -p1 -b .p3 cp %{S:1} . cp %{S:2} .
View file
r8168-support-linux-5.19.patch
Added
@@ -0,0 +1,18 @@ +--- r8168-8.050.03/src/r8168_n.c ++++ r8168-8.050.03/src/r8168_n.c +@@ -121,6 +121,15 @@ + #define FIRMWARE_8168FP_3 "rtl_nic/rtl8168fp-3.fw" + #define FIRMWARE_8168FP_4 "rtl_nic/rtl8168fp-4.fw" + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0) ++static inline void netif_set_gso_max_size(struct net_device *dev, ++ unsigned int size) ++{ ++ /* dev->gso_max_size is read locklessly from sk_setup_caps() */ ++ WRITE_ONCE(dev->gso_max_size, size); ++} ++#endif ++ + /* Maximum number of multicast addresses to filter (vs. Rx-all-multicast). + The RTL chips use a 64 element hash table based on the Ethernet CRC. */ + static const int multicast_filter_limit = 32;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.