mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-12-20 01:01:53 +08:00
r8152: update to version 2.21.4
Add RTL815A 10Gbps USB4 chip support
This commit is contained in:
@@ -7,34 +7,33 @@ 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.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/wget/realtek-r8152-linux/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=045a1e1d20336d26b61b01d8561216029ff3405894707958b5670a7cd7fa75c1
|
||||
PKG_HASH:=05041e46b0edb75b53bbdac640fc027b1eac22cf493e76c3018ab3b5c1dc1df8
|
||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/realtek-$(PKG_NAME)-linux-$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define KernelPackage/usb-net-rtl8152-vendor
|
||||
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
|
||||
TITLE:=Realtek RTL8152/RTL8153/RTL8154/RTL8156/RTL8157 driver
|
||||
SUBMENU:=USB Support
|
||||
DEPENDS:=+kmod-usb-net +LINUX_6_12:kmod-libphy
|
||||
define KernelPackage/r8152
|
||||
SUBMENU:=Network Devices
|
||||
TITLE:=Realtek RTL815X USB Ethernet driver
|
||||
DEPENDS:=+kmod-usb-net +kmod-libphy
|
||||
FILES:=$(PKG_BUILD_DIR)/r8152.ko
|
||||
AUTOLOAD:=$(call AutoProbe,r8152)
|
||||
CONFLICTS:=kmod-usb-net-rtl8152
|
||||
endef
|
||||
|
||||
define KernelPackage/usb-net-rtl8152-vendor/description
|
||||
Kernel module for Realtek Realtek USB 1G / 2.5G / 5G / 10G Ethernet Chipsets
|
||||
define KernelPackage/r8152/description
|
||||
Kernel module for Realtek USB Ethernet Chipsets
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
+$(KERNEL_MAKE) M=$(PKG_BUILD_DIR) modules
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,usb-net-rtl8152-vendor))
|
||||
$(eval $(call KernelPackage,r8152))
|
||||
Reference in New Issue
Block a user