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 15
View file
r8168.changes
Changed
@@ -1,13 +1,13 @@ ------------------------------------------------------------------- Thu Jan 21 15:49:06 UTC 2021 - Werner Fink <werner@suse.de> -- Update to 8.048.03 +- Now we change to github for basic download ------------------------------------------------------------------- -Thu Jan 21 15:47:05 UTC 2021 - Werner Fink <werner@suse.de> +Tue Jun 2 07:17:12 UTC 2020 - Luigi Baldoni <aloisio@gmx.com> -- Remove patch 83b957b4.patch as now we change to github for basic - download +- Update to version 8.048.03 +- Drop 83b957b4.patch (fixed upstream) ------------------------------------------------------------------- Tue Mar 31 06:40:50 UTC 2020 - Werner Fink <werner@suse.de>
View file
r8168.spec
Changed
@@ -61,13 +61,23 @@ cp %{S:2} . %build +# +# SUSE kernel does include some patches/commits which do not increase +# the kernel's version, there we test here if the linux/pci-acpi.h exits +# +if test -e /usr/src/linux/include/linux/pci-acpi.h +then + sed -ri '/#define HAS_PCI_ASPM_H/{ s/@ASPM@/1/ }' src/r8168_n.c +else + sed -ri '/#define HAS_PCI_ASPM_H/{ s/@ASPM@/0/ }' src/r8168_n.c +fi ln -sf $(type -p kmod) modinfo mkdir obj for flavor in %{flavors_to_build} do rm -rf obj/$flavor cp -rp src obj/$flavor - make -C %{kernel_source $flavor} M=$PWD/obj/$flavor modules + make V=1 -C %{kernel_source $flavor} M=$PWD/obj/$flavor modules ./modinfo -F alias $(find $PWD/obj/$flavor/ -name '%{name}.ko') done
View file
r8168-kernel_version.patch
Changed
@@ -1,10 +1,10 @@ --- src/r8168.h | 4 ++++ - src/r8168_n.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) + src/r8168_n.c | 7 ++++++- + 2 files changed, 10 insertions(+), 1 deletion(-) --- src/r8168.h -+++ src/r8168.h 2020-02-10 11:32:37.788832833 +0000 ++++ src/r8168.h 2021-01-25 09:25:12.615124741 +0000 @@ -116,6 +116,10 @@ do { \ } while (0) #endif //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) @@ -17,8 +17,23 @@ #if defined(skb_vlan_tag_present) && !defined(vlan_tx_tag_present) #define vlan_tx_tag_present skb_vlan_tag_present --- src/r8168_n.c -+++ src/r8168_n.c 2020-02-10 11:32:37.788832833 +0000 -@@ -28655,7 +28655,7 @@ process_pkt: ++++ src/r8168_n.c 2021-01-25 09:57:05.218137078 +0000 +@@ -62,9 +62,14 @@ + + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0) ++#ifndef HAS_PCI_ASPM_H ++#define HAS_PCI_ASPM_H @ASPM@ ++#endif ++#if HAS_PCI_ASPM_H + #include <linux/pci-aspm.h> + #endif + #endif ++#endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,37) + #include <linux/prefetch.h> + #endif +@@ -28655,7 +28660,7 @@ process_pkt: if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0) rtl8168_rx_skb(tp, skb);
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
.