mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Update Realtek r8168
This commit is contained in:
parent
4194e2ab61
commit
00164ca23f
2 changed files with 17 additions and 3 deletions
|
@ -7,13 +7,14 @@ include $(TOPDIR)/rules.mk
|
|||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=r8168
|
||||
PKG_VERSION:=8.051.02
|
||||
PKG_VERSION:=8.052.01
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/BROBIRD/openwrt-r8168.git
|
||||
PKG_SOURCE_VERSION:=4f6cfe1ca12fb772deed57f1d2d1062af041ad07
|
||||
PKG_MIRROR_HASH:=6b149f5eb3b9e1dc50867a694984d253aa58d97dd5fbab30eb405d2d7b2be587
|
||||
PKG_SOURCE_VERSION:=a1d4d30ce44c6d1d5de559d8dfdda7a65b1918a3
|
||||
|
||||
PKG_LICENSE:=GPPL-2.0-only
|
||||
|
||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
|
|
13
r8168/patches/900-6.6-support.patch
Normal file
13
r8168/patches/900-6.6-support.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- a/src/r8168_n.c 2023-10-20 17:46:41.593467802 +0200
|
||||
+++ b/src/r8168_n.c 2023-10-20 17:47:59.460123974 +0200
|
||||
@@ -82,6 +82,10 @@
|
||||
#include <linux/mdio.h>
|
||||
#endif
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
|
||||
+#include <net/gso.h>
|
||||
+#endif
|
||||
+
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
|
Loading…
Reference in a new issue