r8152: Update to 2.20.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2025-08-27 20:06:15 +08:00
parent e89eff0af5
commit 056e1a84c2
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=r8152
PKG_VERSION:=2.19.2
PKG_VERSION:=2.20.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/wget/realtek-r8152-linux/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=03f9a558ebf90d7cd121150f942395be4b96a5d11059fd0d0517db2574731189
PKG_HASH:=045a1e1d20336d26b61b01d8561216029ff3405894707958b5670a7cd7fa75c1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/realtek-$(PKG_NAME)-linux-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0-only
@@ -22,7 +22,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
#include <linux/crc32.h>
#include <linux/if_vlan.h>
#include <linux/uaccess.h>
@@ -12645,6 +12646,22 @@ out:
@@ -12724,6 +12725,22 @@ out:
return ret;
}
@@ -45,7 +45,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
static int r8152b_init(struct r8152 *tp)
{
int ret;
@@ -12744,6 +12761,8 @@ static int r8152b_init(struct r8152 *tp)
@@ -12823,6 +12840,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 <mail@david-bauer.net>
out:
return (ret < 0) ? ret : 0;
}
@@ -12932,6 +12951,8 @@ static int r8153_init(struct r8152 *tp)
@@ -13011,6 +13030,8 @@ static int r8153_init(struct r8152 *tp)
break;
}
@@ -63,7 +63,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
out:
return (ret < 0) ? ret : 0;
}
@@ -13062,6 +13083,8 @@ static int r8153b_init(struct r8152 *tp)
@@ -13141,6 +13162,8 @@ static int r8153b_init(struct r8152 *tp)
tp->coalesce = 15000; /* 15 us */
@@ -72,7 +72,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
out:
return (ret < 0) ? ret : 0;
}
@@ -13176,6 +13199,8 @@ static int r8153c_init(struct r8152 *tp)
@@ -13255,6 +13278,8 @@ static int r8153c_init(struct r8152 *tp)
tp->coalesce = 15000; /* 15 us */