From: Andy Chiang Date: Sat, 2 May 2026 07:54:35 +0000 (+0700) Subject: kernel: r8168: update to v8.056.02 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb54a2c4c34673bda31bebeae6cfa1340fade4e;p=thirdparty%2Fopenwrt.git kernel: r8168: update to v8.056.02 Changelog: https://github.com/openwrt/rtl8168/compare/8.055.00...8.056.02 Signed-off-by: Andy Chiang Link: https://github.com/openwrt/openwrt/pull/23201 Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/r8168/Makefile b/package/kernel/r8168/Makefile index 79117346eda..070589d1a76 100644 --- a/package/kernel/r8168/Makefile +++ b/package/kernel/r8168/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=r8168 -PKG_VERSION:=8.055.00 -PKG_RELEASE:=5 +PKG_VERSION:=8.056.02 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8168/releases/download/$(PKG_VERSION) -PKG_HASH:=61deb2a9cb7d6b08748ad51734b108da95d629712b64b204e2e6bd3f16d0a48f +PKG_HASH:=38c48129c41d1dc38681cb83e87c70bda12873384899d94ecc26bb79903829ce PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPLv2 diff --git a/package/kernel/r8168/patches/001-r8168_n-fix-proc_dump_rx_desc_2-on-32-bits.patch b/package/kernel/r8168/patches/001-r8168_n-fix-proc_dump_rx_desc_2-on-32-bits.patch index bb00411e060..e95dff74318 100644 --- a/package/kernel/r8168/patches/001-r8168_n-fix-proc_dump_rx_desc_2-on-32-bits.patch +++ b/package/kernel/r8168/patches/001-r8168_n-fix-proc_dump_rx_desc_2-on-32-bits.patch @@ -13,7 +13,7 @@ Signed-off-by: Álvaro Fernández Rojas --- a/src/r8168_n.c +++ b/src/r8168_n.c -@@ -1668,9 +1668,9 @@ static int proc_dump_rx_desc_2(struct se +@@ -1671,9 +1671,9 @@ static int proc_dump_rx_desc_2(struct se j, k); for (i=0; i<(tp->RxDescLength/4); i++) { if (!(i % 4)) diff --git a/package/kernel/r8168/patches/002-Makefile-fix-CFLAGS-with-linux-6.15.patch b/package/kernel/r8168/patches/002-Makefile-fix-CFLAGS-with-linux-6.15.patch deleted file mode 100644 index b3250db6165..00000000000 --- a/package/kernel/r8168/patches/002-Makefile-fix-CFLAGS-with-linux-6.15.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b5a3eaec6a4ba859602a286fcb5034cf3f25fc55 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= -Date: Tue, 30 Dec 2025 14:35:03 +0100 -Subject: [PATCH] Makefile: fix CFLAGS with linux 6.15+ -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Ensure EXTRA_CFLAGS are taken into account. - -Signed-off-by: Álvaro Fernández Rojas ---- - src/Makefile | 2 ++ - 1 file changed, 2 insertions(+) - ---- a/src/Makefile -+++ b/src/Makefile -@@ -121,6 +121,8 @@ ifneq ($(KERNELRELEASE),) - ifeq ($(ENABLE_GIGA_LITE), y) - EXTRA_CFLAGS += -DENABLE_GIGA_LITE - endif -+ -+ ccflags-y += $(EXTRA_CFLAGS) - else - BASEDIR := /lib/modules/$(shell uname -r) - KERNELDIR ?= $(BASEDIR)/build diff --git a/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch b/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch index 150c41d6324..a9bc28415f0 100644 --- a/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch +++ b/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch @@ -37,7 +37,7 @@ Signed-off-by: Chukun Pan #include #include #include -@@ -5396,6 +5397,38 @@ rtl8168_link_down_patch(struct net_devic +@@ -5527,6 +5528,38 @@ rtl8168_link_down_patch(struct net_devic #endif } @@ -76,7 +76,7 @@ Signed-off-by: Chukun Pan static void rtl8168_check_link_status(struct net_device *dev) { -@@ -5415,11 +5448,18 @@ rtl8168_check_link_status(struct net_dev +@@ -5546,11 +5579,18 @@ rtl8168_check_link_status(struct net_dev if (link_status_on) { rtl8168_link_on_patch(dev);