From 2151ced240bc5d6ed5701088e7d0e3ce497aed6a Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Wed, 10 Dec 2025 17:42:24 +0800 Subject: [PATCH] r8152: Update to 2.21.4 Signed-off-by: Tianling Shen --- package/kernel/r8152/Makefile | 6 ++++-- .../patches/100-add-LED-configuration-from-OF.patch | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/package/kernel/r8152/Makefile b/package/kernel/r8152/Makefile index c26b61dc89..6d8f90931b 100644 --- a/package/kernel/r8152/Makefile +++ b/package/kernel/r8152/Makefile @@ -8,18 +8,20 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=r8152 -PKG_VERSION:=2.20.1 +PKG_VERSION:=2.21.4 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@IMMORTALWRT -PKG_HASH:=f092ebf88850b9bf61065889623d0670fa5a0bf1bdcd80e26949560cbf51c94d +PKG_HASH:=0e94a553d1dda29fd5a2aa22c8d4bb51fd0a2c087b7f2d81e3d7fce0ce0f1687 PKG_LICENSE:=GPL-2.0-only PKG_MAINTAINER:=Tianling Shen include $(INCLUDE_DIR)/package.mk +TAR_CMD=$(HOST_TAR) -C $(1)/ $(TAR_OPTIONS) + define KernelPackage/usb-net-rtl8152-vendor TITLE:=Kernel module for USB-to-Ethernet Realtek convertors SUBMENU:=USB Support diff --git a/package/kernel/r8152/patches/100-add-LED-configuration-from-OF.patch b/package/kernel/r8152/patches/100-add-LED-configuration-from-OF.patch index c0a5fefa5d..b0cec21669 100644 --- a/package/kernel/r8152/patches/100-add-LED-configuration-from-OF.patch +++ b/package/kernel/r8152/patches/100-add-LED-configuration-from-OF.patch @@ -22,7 +22,7 @@ Signed-off-by: David Bauer #include #include #include -@@ -12724,6 +12725,22 @@ out: +@@ -13103,6 +13104,22 @@ out: return ret; } @@ -45,7 +45,7 @@ Signed-off-by: David Bauer static int r8152b_init(struct r8152 *tp) { int ret; -@@ -12823,6 +12840,8 @@ static int r8152b_init(struct r8152 *tp) +@@ -13202,6 +13219,8 @@ static int r8152b_init(struct r8152 *tp) ret = ocp_word_clr_bits(tp, MCU_TYPE_USB, USB_USB_CTRL, RX_AGG_DISABLE | RX_ZERO_EN); @@ -54,7 +54,7 @@ Signed-off-by: David Bauer out: return (ret < 0) ? ret : 0; } -@@ -13011,6 +13030,8 @@ static int r8153_init(struct r8152 *tp) +@@ -13392,6 +13411,8 @@ static int r8153_init(struct r8152 *tp) break; } @@ -63,7 +63,7 @@ Signed-off-by: David Bauer out: return (ret < 0) ? ret : 0; } -@@ -13141,6 +13162,8 @@ static int r8153b_init(struct r8152 *tp) +@@ -13522,6 +13543,8 @@ static int r8153b_init(struct r8152 *tp) tp->coalesce = 15000; /* 15 us */ @@ -72,7 +72,7 @@ Signed-off-by: David Bauer out: return (ret < 0) ? ret : 0; } -@@ -13255,6 +13278,8 @@ static int r8153c_init(struct r8152 *tp) +@@ -13636,6 +13659,8 @@ static int r8153c_init(struct r8152 *tp) tp->coalesce = 15000; /* 15 us */