mirror of
https://github.com/VIKINGYFY/immortalwrt.git
synced 2025-12-16 09:10:38 +00:00
r8152: Update to 2.21.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
d3fac62966
commit
2151ced240
@ -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 <cnsztl@immortalwrt.org>
|
||||
|
||||
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
|
||||
|
||||
@ -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>
|
||||
@@ -12724,6 +12725,22 @@ out:
|
||||
@@ -13103,6 +13104,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;
|
||||
@@ -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 <mail@david-bauer.net>
|
||||
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 <mail@david-bauer.net>
|
||||
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 <mail@david-bauer.net>
|
||||
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 */
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user